MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
|
#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.
#define MagickCoreDebugDLL "CORE_DB_MagickCore_.dll" |
#define MagickCoreDLL "CORE_RL_MagickCore_.dll" |
#define RegistryKey "ConfigurePath" |
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(), magick_unreferenced, 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 516 of file configure.c.
References LocaleCompare().
Referenced by GetConfigureList().
MagickPrivate MagickBooleanType ConfigureComponentGenesis | ( | void | ) |
Definition at line 231 of file configure.c.
References AcquireSemaphoreInfo(), configure_semaphore, and MagickTrue.
Referenced by MagickCoreGenesis().
MagickPrivate void ConfigureComponentTerminus | ( | void | ) |
Definition at line 276 of file configure.c.
References ActivateSemaphoreInfo(), configure_cache, configure_semaphore, DestroyConfigureElement(), DestroyLinkedList(), LockSemaphoreInfo(), RelinquishSemaphoreInfo(), and UnlockSemaphoreInfo().
Referenced by MagickCoreTerminus().
|
static |
Definition at line 419 of file configure.c.
References LocaleCompare().
Referenced by GetConfigureInfoList().
|
static |
Definition at line 257 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 317 of file configure.c.
References DestroyLinkedList(), and DestroyOptions().
Referenced by AcquireColorCache(), AcquireConfigureCache(), AcquireDelegateCache(), AcquireMimeCache(), AcquirePolicyCache(), AcquireTypeCache(), GetThresholdMap(), and ListThresholdMaps().
|
static |
Definition at line 312 of file configure.c.
References DestroyStringInfo().
Referenced by DestroyConfigureOptions().
MagickExport const ConfigureInfo * GetConfigureInfo | ( | const char * | name, |
ExceptionInfo * | exception | ||
) |
Definition at line 352 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 436 of file configure.c.
References AcquireQuantumMemory(), configure_cache, configure_semaphore, ConfigureInfoCompare(), GetConfigureInfo(), GetMagickModule, GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), GlobExpression(), IsEventLogging(), 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 531 of file configure.c.
References AcquireQuantumMemory(), configure_cache, configure_semaphore, ConfigureCompare(), ConstantString(), GetConfigureInfo(), GetMagickModule, GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), GlobExpression(), IsEventLogging(), LockSemaphoreInfo(), LogMagickEvent(), MagickFalse, _ConfigureInfo::name, ResetLinkedListIterator(), _ConfigureInfo::stealth, TraceEvent, and UnlockSemaphoreInfo().
MagickExport char * GetConfigureOption | ( | const char * | option | ) |
Definition at line 597 of file configure.c.
References AcquireExceptionInfo(), ConstantString(), DestroyExceptionInfo(), GetConfigureInfo(), GetConfigureValue(), GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickFalse, and TraceEvent.
MagickExport LinkedListInfo * GetConfigureOptions | ( | const char * | filename, |
ExceptionInfo * | exception | ||
) |
Definition at line 648 of file configure.c.
References AcquireStringInfo(), AppendValueToLinkedList(), ConfigureEvent, ConfigureFileToStringInfo(), ConfigureWarning, CopyMagickString(), DestroyLinkedList(), FormatLocaleString(), GetConfigurePaths(), GetMagickModule, GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), IsEventLogging(), LogMagickEvent(), MagickFalse, 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 741 of file configure.c.
References AppendValueToLinkedList(), ChopPathComponents(), ConcatenateMagickString(), ConfigureWarning, ConstantString(), CopyMagickString(), DestroyString(), DirectoryListSeparator, DirectorySeparator, FormatLocaleString(), GetClientPath(), GetEnvironmentValue(), GetMagickModule, GetNumberOfElementsInLinkedList(), IsEventLogging(), 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 984 of file configure.c.
References GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, _ConfigureInfo::signature, TraceEvent, and _ConfigureInfo::value.
Referenced by GetConfigureOption().
|
static |
Definition at line 1016 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 1054 of file configure.c.
References FormatLocaleFile(), GetConfigureInfoList(), LocaleCompare(), MagickFalse, MagickTrue, _ConfigureInfo::path, and RelinquishMagickMemory().
|
static |
Definition at line 1147 of file configure.c.
References AcquireCriticalMemory(), AcquireString(), AppendValueToLinkedList(), ConcatenateMagickString(), ConfigureError, ConfigureEvent, ConstantString(), CopyMagickString(), DestroyString(), DirectorySeparator, _ConfigureInfo::exempt, FileToXML(), GetMagickModule, GetNextToken(), GetPathComponent(), HeadPath, IsStringTrue(), LoadConfigureCache(), 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(), and LoadConfigureCache().
|
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().