MagickCore
7.0.10
|
#include "MagickCore/studio.h"
#include "MagickCore/blob.h"
#include "MagickCore/client.h"
#include "MagickCore/configure.h"
#include "MagickCore/configure-private.h"
#include "MagickCore/exception.h"
#include "MagickCore/exception-private.h"
#include "MagickCore/linked-list.h"
#include "MagickCore/log.h"
#include "MagickCore/memory_.h"
#include "MagickCore/semaphore.h"
#include "MagickCore/string_.h"
#include "MagickCore/string-private.h"
#include "MagickCore/token.h"
#include "MagickCore/utility.h"
#include "MagickCore/utility-private.h"
#include "MagickCore/version.h"
#include "MagickCore/xml-tree.h"
#include "MagickCore/xml-tree-private.h"
Go to the source code of this file.
Data Structures | |
struct | _ConfigureMapInfo |
Macros | |
#define | ConfigureFilename "configure.xml" |
#define | RegistryKey "ConfigurePath" |
#define | MagickCoreDLL "CORE_RL_MagickCore_.dll" |
#define | MagickCoreDebugDLL "CORE_DB_MagickCore_.dll" |
Typedefs | |
typedef struct _ConfigureMapInfo | ConfigureMapInfo |
Variables | |
static LinkedListInfo * | configure_cache = (LinkedListInfo *) NULL |
static SemaphoreInfo * | configure_semaphore = (SemaphoreInfo *) NULL |
#define ConfigureFilename "configure.xml" |
Definition at line 65 of file configure.c.
Referenced by IsConfigureCacheInstantiated().
#define MagickCoreDebugDLL "CORE_DB_MagickCore_.dll" |
Referenced by GetConfigurePaths().
#define MagickCoreDLL "CORE_RL_MagickCore_.dll" |
Referenced by GetConfigurePaths().
#define RegistryKey "ConfigurePath" |
Referenced by GetConfigurePaths().
typedef struct _ConfigureMapInfo ConfigureMapInfo |
|
static |
Definition at line 152 of file configure.c.
References AcquireUniqueFilename(), AddConfigureKey(), DestroyConfigureOptions(), GetConfigureOptions(), GetMagickDelegates(), GetMagickFeatures(), GetMagickQuantumDepth(), GetNextValueInLinkedList(), GetPathComponent(), GetStringInfoDatum(), GetStringInfoPath(), HeadPath, LoadConfigureCache(), MagickFalse, MagickPathExtent, MagickTrue, and NewLinkedList().
Referenced by IsConfigureCacheInstantiated().
|
inlinestatic |
Definition at line 125 of file configure.c.
References AcquireMagickMemory(), AppendValueToLinkedList(), ConstantString(), _ConfigureInfo::exempt, MagickCoreSignature, MagickTrue, _ConfigureInfo::name, _ConfigureInfo::path, _ConfigureInfo::signature, and _ConfigureInfo::value.
Referenced by AcquireConfigureCache().
|
static |
Definition at line 512 of file configure.c.
References LocaleCompare().
Referenced by GetConfigureList().
MagickPrivate MagickBooleanType ConfigureComponentGenesis | ( | void | ) |
Definition at line 228 of file configure.c.
References AcquireSemaphoreInfo(), configure_semaphore, and MagickTrue.
Referenced by MagickCoreGenesis().
MagickPrivate void ConfigureComponentTerminus | ( | void | ) |
Definition at line 273 of file configure.c.
References ActivateSemaphoreInfo(), configure_cache, configure_semaphore, DestroyConfigureElement(), DestroyLinkedList(), LockSemaphoreInfo(), RelinquishSemaphoreInfo(), and UnlockSemaphoreInfo().
Referenced by MagickCoreTerminus().
|
static |
Definition at line 416 of file configure.c.
References LocaleCompare().
Referenced by GetConfigureInfoList().
|
static |
Definition at line 254 of file configure.c.
References DestroyString(), _ConfigureInfo::exempt, MagickFalse, _ConfigureInfo::name, _ConfigureInfo::path, RelinquishMagickMemory(), and _ConfigureInfo::value.
Referenced by ConfigureComponentTerminus().
MagickExport LinkedListInfo* DestroyConfigureOptions | ( | LinkedListInfo * | options | ) |
Definition at line 314 of file configure.c.
References DestroyLinkedList(), and DestroyOptions().
Referenced by AcquireColorCache(), AcquireConfigureCache(), AcquireDelegateCache(), AcquireMimeCache(), AcquirePolicyCache(), AcquireTypeCache(), GetThresholdMap(), and ListThresholdMaps().
|
static |
Definition at line 309 of file configure.c.
References DestroyStringInfo().
Referenced by DestroyConfigureOptions().
MagickExport const ConfigureInfo* GetConfigureInfo | ( | const char * | name, |
ExceptionInfo * | exception | ||
) |
Definition at line 349 of file configure.c.
References configure_cache, configure_semaphore, GetNextValueInLinkedList(), InsertValueInLinkedList(), IsConfigureCacheInstantiated(), 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 | ||
) |
Definition at line 433 of file configure.c.
References AcquireQuantumMemory(), configure_cache, 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 | ||
) |
Definition at line 527 of file configure.c.
References AcquireQuantumMemory(), configure_cache, 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 | ) |
Definition at line 592 of file configure.c.
References AcquireExceptionInfo(), ConstantString(), DestroyExceptionInfo(), GetConfigureInfo(), GetConfigureValue(), GetMagickModule, LogMagickEvent(), and TraceEvent.
MagickExport LinkedListInfo* GetConfigureOptions | ( | const char * | filename, |
ExceptionInfo * | exception | ||
) |
Definition at line 642 of file configure.c.
References AcquireStringInfo(), AppendValueToLinkedList(), ConfigureEvent, ConfigureFileToStringInfo(), ConfigureWarning, CopyMagickString(), DestroyLinkedList(), FormatLocaleString(), GetConfigurePaths(), GetMagickModule, GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), LogMagickEvent(), MagickPathExtent, NewLinkedList(), RelinquishMagickMemory(), ResetLinkedListIterator(), SetStringInfoDatum(), SetStringInfoLength(), SetStringInfoPath(), ThrowMagickException(), and TraceEvent.
Referenced by AcquireColorCache(), AcquireConfigureCache(), AcquireDelegateCache(), AcquireMimeCache(), AcquirePolicyCache(), AcquireTypeCache(), GetThresholdMap(), and ListThresholdMaps().
MagickExport LinkedListInfo* GetConfigurePaths | ( | const char * | filename, |
ExceptionInfo * | exception | ||
) |
Definition at line 734 of file configure.c.
References AppendValueToLinkedList(), ChopPathComponents(), ConcatenateMagickString(), ConfigureWarning, ConstantString(), CopyMagickString(), DestroyString(), DirectoryListSeparator, DirectorySeparator, FormatLocaleString(), GetClientPath(), GetEnvironmentValue(), GetMagickModule, GetNumberOfElementsInLinkedList(), LogMagickEvent(), MAGICKCORE_CONFIGURE_PATH, MAGICKCORE_CONFIGURE_RELATIVE_PATH, MAGICKCORE_DOCUMENTATION_PATH, MAGICKCORE_SHARE_PATH, MAGICKCORE_SHARE_RELATIVE_PATH, MagickCoreDebugDLL, MagickCoreDLL, MagickFalse, MagickPathExtent, NewLinkedList(), RegistryKey, RelinquishMagickMemory(), ThrowMagickException(), and TraceEvent.
Referenced by GetConfigureOptions(), GetLocaleOptions(), and GetMagickHomeURL().
MagickExport const char* GetConfigureValue | ( | const ConfigureInfo * | configure_info | ) |
Definition at line 976 of file configure.c.
References GetMagickModule, LogMagickEvent(), MagickCoreSignature, _ConfigureInfo::signature, TraceEvent, and _ConfigureInfo::value.
Referenced by GetConfigureOption().
|
static |
Definition at line 1007 of file configure.c.
References AcquireConfigureCache(), ActivateSemaphoreInfo(), configure_cache, configure_semaphore, ConfigureFilename, LockSemaphoreInfo(), MagickFalse, MagickTrue, and UnlockSemaphoreInfo().
Referenced by GetConfigureInfo().
MagickExport MagickBooleanType ListConfigureInfo | ( | FILE * | file, |
ExceptionInfo * | exception | ||
) |
Definition at line 1045 of file configure.c.
References FormatLocaleFile(), GetConfigureInfoList(), LocaleCompare(), MagickFalse, MagickTrue, _ConfigureInfo::path, and RelinquishMagickMemory().
|
static |
Definition at line 1138 of file configure.c.
References AcquireCriticalMemory(), AcquireString(), AppendValueToLinkedList(), ConcatenateMagickString(), ConfigureError, ConfigureEvent, ConstantString(), CopyMagickString(), DestroyString(), DirectorySeparator, _ConfigureInfo::exempt, FileToXML(), GetMagickModule, GetNextToken(), GetPathComponent(), HeadPath, IsStringTrue(), LocaleCompare(), LocaleNCompare(), LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickMaxRecursionDepth, MagickPathExtent, MagickTrue, _ConfigureInfo::name, _ConfigureInfo::path, RelinquishMagickMemory(), ResourceLimitError, _ConfigureInfo::signature, _ConfigureInfo::stealth, ThrowMagickException(), and _ConfigureInfo::value.
Referenced by AcquireConfigureCache().
|
static |
Definition at line 82 of file configure.c.
Referenced by ConfigureComponentTerminus(), GetConfigureInfo(), GetConfigureInfoList(), GetConfigureList(), and IsConfigureCacheInstantiated().
|
static |
Definition at line 85 of file configure.c.
Referenced by ConfigureComponentGenesis(), ConfigureComponentTerminus(), GetConfigureInfo(), GetConfigureInfoList(), GetConfigureList(), and IsConfigureCacheInstantiated().