MagickCore 7.0.10
|
#include "wizard/studio.h"
#include "wizard/blob.h"
#include "wizard/client.h"
#include "wizard/configure.h"
#include "wizard/exception.h"
#include "wizard/exception-private.h"
#include "wizard/hashmap.h"
#include "wizard/log.h"
#include "wizard/memory_.h"
#include "wizard/semaphore.h"
#include "wizard/string_.h"
#include "wizard/token.h"
#include "wizard/utility.h"
#include "wizard/xml-tree.h"
#include "wizard/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 | WizardsToolkitDLL "Wizard's Toolkit.dll" |
Typedefs | |
typedef struct _ConfigureMapInfo | ConfigureMapInfo |
Variables | |
static const ConfigureMapInfo | ConfigureMap [] |
static LinkedListInfo * | configure_cache = (LinkedListInfo *) NULL |
static SemaphoreInfo * | configure_semaphore = (SemaphoreInfo *) NULL |
#define ConfigureFilename "configure.xml" |
Definition at line 61 of file configure.c.
#define RegistryKey "ConfigurePath" |
#define WizardsToolkitDLL "Wizard's Toolkit.dll" |
typedef struct _ConfigureMapInfo ConfigureMapInfo |
|
static |
Definition at line 122 of file configure.c.
References AcquireWizardMemory(), AppendValueToLinkedList(), configure_cache, ConfigureMap, CopyWizardString(), DestroyConfigureOptions(), _ConfigureInfo::exempt, GetConfigureOptions(), GetNextValueInLinkedList(), GetStringInfoDatum(), GetStringInfoPath(), GetWizardModule, LoadConfigureCache(), _ConfigureMapInfo::name, _ConfigureInfo::name, NewLinkedList(), _ConfigureInfo::path, ResourceError, ResourceFatalError, _ConfigureInfo::signature, ThrowFatalException, ThrowWizardException(), _ConfigureMapInfo::value, _ConfigureInfo::value, WizardFalse, WizardPathExtent, WizardSignature, and WizardTrue.
Referenced by IsConfigureCacheInstantiated().
|
static |
Definition at line 499 of file configure.c.
Referenced by GetConfigureList().
WizardExport WizardBooleanType ConfigureComponentGenesis | ( | void | ) |
Definition at line 211 of file configure.c.
References AcquireSemaphoreInfo(), configure_semaphore, and WizardTrue.
Referenced by WizardsToolkitGenesis().
WizardExport void ConfigureComponentTerminus | ( | void | ) |
Definition at line 257 of file configure.c.
References ActivateSemaphoreInfo(), configure_cache, configure_semaphore, DestroyConfigureElement(), DestroyLinkedList(), LockSemaphoreInfo(), RelinquishSemaphoreInfo(), and UnlockSemaphoreInfo().
|
static |
Definition at line 403 of file configure.c.
Referenced by GetConfigureInfoList().
|
static |
Definition at line 238 of file configure.c.
References _ConfigureInfo::exempt, _ConfigureInfo::name, _ConfigureInfo::path, RelinquishWizardMemory(), _ConfigureInfo::value, and WizardFalse.
Referenced by ConfigureComponentTerminus().
WizardExport LinkedListInfo * DestroyConfigureOptions | ( | LinkedListInfo * | options | ) |
Definition at line 298 of file configure.c.
References DestroyLinkedList(), and DestroyOptions().
Referenced by AcquireConfigureCache(), AcquireLogCache(), and AcquireMimeCache().
|
static |
Definition at line 293 of file configure.c.
References DestroyStringInfo().
Referenced by DestroyConfigureOptions().
WizardExport const ConfigureInfo * GetConfigureInfo | ( | const char * | name, |
ExceptionInfo * | exception | ||
) |
Definition at line 333 of file configure.c.
References configure_cache, configure_semaphore, GetNextValueInLinkedList(), GetWizardModule, InsertValueInLinkedList(), IsConfigureCacheInstantiated(), LockSemaphoreInfo(), _ConfigureInfo::name, OptionWarning, RemoveElementByValueFromLinkedList(), ResetLinkedListIterator(), ThrowWizardException(), UnlockSemaphoreInfo(), and WizardFalse.
Referenced by GetConfigureInfoList(), and GetConfigureList().
WizardExport const ConfigureInfo ** GetConfigureInfoList | ( | const char * | pattern, |
size_t * | number_options, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 420 of file configure.c.
References AcquireQuantumMemory(), configure_cache, configure_semaphore, ConfigureInfoCompare(), GetConfigureInfo(), GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), GetWizardModule, GlobExpression(), LockSemaphoreInfo(), LogWizardEvent(), _ConfigureInfo::name, ResetLinkedListIterator(), _ConfigureInfo::stealth, TraceEvent, UnlockSemaphoreInfo(), and WizardFalse.
Referenced by ListConfigureInfo().
WizardExport char ** GetConfigureList | ( | const char * | pattern, |
size_t * | number_options, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 514 of file configure.c.
References AcquireQuantumMemory(), configure_cache, configure_semaphore, ConfigureCompare(), ConstantString(), GetConfigureInfo(), GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), GetWizardModule, GlobExpression(), LockSemaphoreInfo(), LogWizardEvent(), _ConfigureInfo::name, ResetLinkedListIterator(), _ConfigureInfo::stealth, TraceEvent, UnlockSemaphoreInfo(), and WizardFalse.
WizardExport LinkedListInfo * GetConfigureOptions | ( | const char * | filename, |
ExceptionInfo * | exception | ||
) |
Definition at line 585 of file configure.c.
References AcquireStringInfo(), AppendValueToLinkedList(), ConfigureEvent, ConfigureFileToStringInfo(), ConfigureWarning, CopyWizardString(), DestroyLinkedList(), FormatLocaleString(), GetConfigurePaths(), GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), GetWizardModule, LogWizardEvent(), NewLinkedList(), RelinquishWizardMemory(), ResetLinkedListIterator(), SetStringInfoDatum(), SetStringInfoLength(), SetStringInfoPath(), ThrowWizardException(), TraceEvent, and WizardPathExtent.
Referenced by AcquireConfigureCache(), AcquireLogCache(), and AcquireMimeCache().
WizardExport LinkedListInfo * GetConfigurePaths | ( | const char * | filename, |
ExceptionInfo * | exception | ||
) |
Definition at line 675 of file configure.c.
References AcquireString(), AppendValueToLinkedList(), ChopPathComponents(), ConcatenateWizardString(), ConstantString(), CopyWizardString(), DestroyString(), DirectoryListSeparator, DirectorySeparator, FormatLocaleString(), GetClientPath(), GetEnvironmentValue(), GetWizardModule, LogWizardEvent(), NewLinkedList(), RegistryKey, RelinquishWizardMemory(), TraceEvent, WizardFalse, WizardPathExtent, WIZARDSTOOLKIT_CONFIGURE_PATH, WIZARDSTOOLKIT_CONFIGURE_RELATIVE_PATH, WIZARDSTOOLKIT_DOCUMENTATION_PATH, WIZARDSTOOLKIT_SHARE_PATH, WIZARDSTOOLKIT_SHARE_RELATIVE_PATH, and WizardsToolkitDLL.
Referenced by GetConfigureOptions(), and GetLocaleOptions().
WizardExport const char * GetConfigureValue | ( | const ConfigureInfo * | configure_info | ) |
Definition at line 907 of file configure.c.
References GetWizardModule, LogWizardEvent(), _ConfigureInfo::signature, TraceEvent, _ConfigureInfo::value, and WizardSignature.
|
static |
Definition at line 938 of file configure.c.
References AcquireConfigureCache(), ActivateSemaphoreInfo(), configure_cache, configure_semaphore, ConfigureFilename, LockSemaphoreInfo(), UnlockSemaphoreInfo(), WizardFalse, and WizardTrue.
Referenced by GetConfigureInfo().
WizardExport WizardBooleanType ListConfigureInfo | ( | FILE * | file, |
ExceptionInfo * | exception | ||
) |
Definition at line 976 of file configure.c.
References GetConfigureInfoList(), _ConfigureInfo::path, RelinquishWizardMemory(), WizardFalse, and WizardTrue.
static WizardBooleanType LoadConfigureCache | ( | LinkedListInfo * | configure_cache, |
const char * | xml, | ||
const char * | filename, | ||
const size_t | depth, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 1066 of file configure.c.
References AcquireWizardMemory(), AppendValueToLinkedList(), ConcatenateWizardString(), configure_cache, ConfigureError, ConfigureEvent, ConstantString(), DestroyXMLTree(), DirectorySeparator, _ConfigureInfo::exempt, FileToXML(), GetNextXMLTreeTag(), GetPathComponent(), GetWizardModule, GetXMLTreeAttribute(), GetXMLTreeChild(), HeadPath, IsWizardTrue(), LoadConfigureCache(), LogWizardEvent(), _ConfigureInfo::name, NewXMLTree(), _ConfigureInfo::path, RelinquishWizardMemory(), ResourceFatalError, _ConfigureInfo::signature, _ConfigureInfo::stealth, ThrowFatalException, ThrowWizardException(), _ConfigureInfo::value, WizardFalse, WizardPathExtent, WizardSignature, and WizardTrue.
Referenced by AcquireConfigureCache(), and LoadConfigureCache().
|
static |
Definition at line 83 of file configure.c.
Referenced by AcquireConfigureCache(), ConfigureComponentTerminus(), GetConfigureInfo(), GetConfigureInfoList(), GetConfigureList(), IsConfigureCacheInstantiated(), and LoadConfigureCache().
|
static |
Definition at line 86 of file configure.c.
Referenced by ConfigureComponentGenesis(), ConfigureComponentTerminus(), GetConfigureInfo(), GetConfigureInfoList(), GetConfigureList(), and IsConfigureCacheInstantiated().
|
static |
Definition at line 77 of file configure.c.
Referenced by AcquireConfigureCache().