MagickCore
6.8.5
|
#include "magick/studio.h"
#include "magick/blob.h"
#include "magick/client.h"
#include "magick/configure.h"
#include "magick/exception.h"
#include "magick/exception-private.h"
#include "magick/hashmap.h"
#include "magick/log.h"
#include "magick/memory_.h"
#include "magick/semaphore.h"
#include "magick/string_.h"
#include "magick/token.h"
#include "magick/utility.h"
#include "magick/xml-tree.h"
Data Structures | |
struct | _ConfigureMapInfo |
Macros | |
#define | ConfigureFilename "configure.xml" |
#define | MAGICKCORE_FEATURE_OPENMP_STR "" |
#define | MAGICKCORE_FEATURE_OPENCL_STR "" |
#define | MAGICKCORE_FEATURE_ZERO_CONFIGURATION_STR "" |
#define | MAGICKCORE_FEATURE_HDRI_STR "" |
#define | MAGICKCORE_FEATURES_STR MAGICKCORE_FEATURE_OPENMP_STR MAGICKCORE_FEATURE_OPENCL_STR MAGICKCORE_FEATURE_ZERO_CONFIGURATION_STR MAGICKCORE_FEATURE_HDRI_STR |
#define | RegistryKey "ConfigurePath" |
#define | MagickCoreDLL "CORE_RL_magick_.dll" |
#define | MagickCoreDebugDLL "CORE_DB_magick_.dll" |
Typedefs | |
typedef struct _ConfigureMapInfo | ConfigureMapInfo |
Variables | |
static const ConfigureMapInfo | ConfigureMap [] |
static LinkedListInfo * | configure_list = (LinkedListInfo *) NULL |
static SemaphoreInfo * | configure_semaphore = (SemaphoreInfo *) NULL |
static volatile MagickBooleanType | instantiate_configure = MagickFalse |
#define ConfigureFilename "configure.xml" |
Referenced by InitializeConfigureList().
#define MAGICKCORE_FEATURE_HDRI_STR "" |
#define MAGICKCORE_FEATURE_OPENCL_STR "" |
#define MAGICKCORE_FEATURE_OPENMP_STR "" |
#define MAGICKCORE_FEATURE_ZERO_CONFIGURATION_STR "" |
#define MAGICKCORE_FEATURES_STR MAGICKCORE_FEATURE_OPENMP_STR MAGICKCORE_FEATURE_OPENCL_STR MAGICKCORE_FEATURE_ZERO_CONFIGURATION_STR MAGICKCORE_FEATURE_HDRI_STR |
#define MagickCoreDebugDLL "CORE_DB_magick_.dll" |
Referenced by GetConfigurePaths().
#define MagickCoreDLL "CORE_RL_magick_.dll" |
Referenced by GetConfigurePaths().
#define RegistryKey "ConfigurePath" |
Referenced by GetConfigurePaths().
typedef struct _ConfigureMapInfo ConfigureMapInfo |
|
static |
References LocaleCompare().
Referenced by GetConfigureList().
MagickExport MagickBooleanType ConfigureComponentGenesis | ( | void | ) |
References AcquireSemaphoreInfo(), configure_semaphore, and MagickTrue.
Referenced by MagickCoreGenesis().
MagickExport void ConfigureComponentTerminus | ( | void | ) |
|
static |
References LocaleCompare().
Referenced by GetConfigureInfoList().
|
static |
References DestroyString(), _ConfigureInfo::exempt, MagickFalse, _ConfigureInfo::name, _ConfigureInfo::path, RelinquishMagickMemory(), and _ConfigureInfo::value.
Referenced by ConfigureComponentTerminus().
MagickExport LinkedListInfo* DestroyConfigureOptions | ( | LinkedListInfo * | options | ) |
References DestroyLinkedList(), DestroyOptions(), GetMagickModule, LogMagickEvent(), and TraceEvent.
Referenced by GetThresholdMap(), ListThresholdMaps(), LoadCoderLists(), LoadColorLists(), LoadConfigureLists(), LoadDelegateLists(), LoadLogLists(), LoadMagicLists(), LoadMimeLists(), LoadPolicyLists(), and LoadTypeLists().
|
static |
References DestroyStringInfo().
Referenced by DestroyConfigureOptions().
MagickExport const ConfigureInfo* GetConfigureInfo | ( | const char * | name, |
ExceptionInfo * | exception | ||
) |
References configure_list, configure_semaphore, GetNextValueInLinkedList(), GetValueFromLinkedList(), InitializeConfigureList(), InsertValueInLinkedList(), instantiate_configure, IsLinkedListEmpty(), LocaleCompare(), LockSemaphoreInfo(), MagickFalse, _ConfigureInfo::name, RemoveElementByValueFromLinkedList(), ResetLinkedListIterator(), and UnlockSemaphoreInfo().
Referenced by GetConfigureInfoList(), GetConfigureList(), and GetConfigureOption().
MagickExport const ConfigureInfo** GetConfigureInfoList | ( | const char * | pattern, |
size_t * | number_options, | ||
ExceptionInfo * | exception | ||
) |
References AcquireQuantumMemory(), configure_list, configure_semaphore, ConfigureInfoCompare(), GetConfigureInfo(), GetMagickModule, GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), GlobExpression(), LockSemaphoreInfo(), LogMagickEvent(), MagickFalse, _ConfigureInfo::name, ResetLinkedListIterator(), _ConfigureInfo::stealth, TraceEvent, and UnlockSemaphoreInfo().
Referenced by ListConfigureInfo().
MagickExport char** GetConfigureList | ( | const char * | pattern, |
size_t * | number_options, | ||
ExceptionInfo * | exception | ||
) |
References AcquireQuantumMemory(), configure_list, configure_semaphore, ConfigureCompare(), ConstantString(), GetConfigureInfo(), GetMagickModule, GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), GlobExpression(), LockSemaphoreInfo(), LogMagickEvent(), MagickFalse, _ConfigureInfo::name, ResetLinkedListIterator(), _ConfigureInfo::stealth, TraceEvent, and UnlockSemaphoreInfo().
MagickExport char* GetConfigureOption | ( | const char * | option | ) |
MagickExport LinkedListInfo* GetConfigureOptions | ( | const char * | filename, |
ExceptionInfo * | exception | ||
) |
References AcquireStringInfo(), AppendValueToLinkedList(), ConfigureEvent, ConfigureFileToStringInfo(), ConfigureWarning, CopyMagickString(), DestroyLinkedList(), FormatLocaleString(), GetConfigurePaths(), GetMagickModule, GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), LogMagickEvent(), MaxTextExtent, NewLinkedList(), RelinquishMagickMemory(), ResetLinkedListIterator(), SetStringInfoDatum(), SetStringInfoLength(), SetStringInfoPath(), ThrowMagickException(), and TraceEvent.
Referenced by GetThresholdMap(), ListThresholdMaps(), LoadCoderLists(), LoadColorLists(), LoadConfigureLists(), LoadDelegateLists(), LoadLogLists(), LoadMagicLists(), LoadMimeLists(), LoadPolicyLists(), and LoadTypeLists().
MagickExport LinkedListInfo* GetConfigurePaths | ( | const char * | filename, |
ExceptionInfo * | exception | ||
) |
References AppendValueToLinkedList(), ChopPathComponents(), ConcatenateMagickString(), ConstantString(), CopyMagickString(), DestroyString(), DirectoryListSeparator, DirectorySeparator, FormatLocaleString(), GetClientPath(), GetEnvironmentValue(), GetMagickModule, LogMagickEvent(), MAGICKCORE_CONFIGURE_PATH, MAGICKCORE_CONFIGURE_RELATIVE_PATH, MAGICKCORE_DOCUMENTATION_PATH, MAGICKCORE_SHARE_PATH, MAGICKCORE_SHARE_RELATIVE_PATH, MagickCoreDebugDLL, MagickCoreDLL, MagickFalse, MaxTextExtent, NewLinkedList(), RegistryKey, RelinquishMagickMemory(), and TraceEvent.
Referenced by GetConfigureOptions(), GetLocaleOptions(), and GetMagickHomeURL().
MagickExport const char* GetConfigureValue | ( | const ConfigureInfo * | configure_info | ) |
References GetMagickModule, LogMagickEvent(), MagickSignature, _ConfigureInfo::signature, TraceEvent, and _ConfigureInfo::value.
Referenced by GetConfigureOption().
|
static |
References AcquireSemaphoreInfo(), configure_list, configure_semaphore, ConfigureFilename, instantiate_configure, LoadConfigureLists(), LockSemaphoreInfo(), MagickFalse, MagickTrue, and UnlockSemaphoreInfo().
Referenced by GetConfigureInfo().
MagickExport MagickBooleanType ListConfigureInfo | ( | FILE * | file, |
ExceptionInfo * | exception | ||
) |
|
static |
References AcquireMagickMemory(), AcquireString(), AppendValueToLinkedList(), ConcatenateMagickString(), configure_list, ConfigureError, ConfigureEvent, ConstantString(), CopyMagickString(), DirectorySeparator, _ConfigureInfo::exempt, FileToString(), GetMagickModule, GetMagickToken(), GetPathComponent(), HeadPath, IsMagickTrue(), LocaleCompare(), LocaleNCompare(), LogMagickEvent(), MagickFalse, MagickSignature, MagickTrue, MaxTextExtent, _ConfigureInfo::name, NewLinkedList(), _ConfigureInfo::path, RelinquishMagickMemory(), ResetMagickMemory(), ResourceLimitError, ResourceLimitFatalError, _ConfigureInfo::signature, _ConfigureInfo::stealth, ThrowFatalException, ThrowFileException, ThrowMagickException(), and _ConfigureInfo::value.
Referenced by LoadConfigureLists().
static MagickBooleanType LoadConfigureLists | ( | const char * | filename, |
ExceptionInfo * | exception | ||
) |
References AcquireMagickMemory(), AppendValueToLinkedList(), configure_list, ConfigureMap, DestroyConfigureOptions(), _ConfigureInfo::exempt, GetConfigureOptions(), GetMagickModule, GetNextValueInLinkedList(), GetStringInfoDatum(), GetStringInfoPath(), LoadConfigureList(), MagickFalse, MagickSignature, MagickTrue, _ConfigureInfo::name, _ConfigureMapInfo::name, NewLinkedList(), _ConfigureInfo::path, ResetMagickMemory(), ResourceLimitError, _ConfigureInfo::signature, ThrowFileException, ThrowMagickException(), _ConfigureInfo::value, and _ConfigureMapInfo::value.
Referenced by InitializeConfigureList().
|
static |
|
static |
|
static |
Referenced by LoadConfigureLists().
|
static |
Referenced by ConfigureComponentTerminus(), GetConfigureInfo(), and InitializeConfigureList().