MagickCore 7.0.10
configure.c File Reference
#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"
Include dependency graph for configure.c:

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
 

Functions

static WizardBooleanType IsConfigureCacheInstantiated (ExceptionInfo *)
 
static WizardBooleanType LoadConfigureCache (LinkedListInfo *, const char *, const char *, const size_t, ExceptionInfo *)
 
static LinkedListInfoAcquireConfigureCache (const char *filename, ExceptionInfo *exception)
 
WizardExport WizardBooleanType ConfigureComponentGenesis (void)
 
static void * DestroyConfigureElement (void *configure_info)
 
WizardExport void ConfigureComponentTerminus (void)
 
static void * DestroyOptions (void *option)
 
WizardExport LinkedListInfoDestroyConfigureOptions (LinkedListInfo *options)
 
WizardExport const ConfigureInfoGetConfigureInfo (const char *name, ExceptionInfo *exception)
 
static int ConfigureInfoCompare (const void *x, const void *y)
 
WizardExport const ConfigureInfo ** GetConfigureInfoList (const char *pattern, size_t *number_options, ExceptionInfo *exception)
 
static int ConfigureCompare (const void *x, const void *y)
 
WizardExport char ** GetConfigureList (const char *pattern, size_t *number_options, ExceptionInfo *exception)
 
WizardExport LinkedListInfoGetConfigureOptions (const char *filename, ExceptionInfo *exception)
 
WizardExport LinkedListInfoGetConfigurePaths (const char *filename, ExceptionInfo *exception)
 
WizardExport const char * GetConfigureValue (const ConfigureInfo *configure_info)
 
WizardExport WizardBooleanType ListConfigureInfo (FILE *file, ExceptionInfo *exception)
 

Variables

static const ConfigureMapInfo ConfigureMap []
 
static LinkedListInfoconfigure_cache = (LinkedListInfo *) NULL
 
static SemaphoreInfoconfigure_semaphore = (SemaphoreInfo *) NULL
 

Macro Definition Documentation

◆ ConfigureFilename

#define ConfigureFilename   "configure.xml"

Definition at line 61 of file configure.c.

◆ RegistryKey

#define RegistryKey   "ConfigurePath"

◆ WizardsToolkitDLL

#define WizardsToolkitDLL   "Wizard's Toolkit.dll"

Typedef Documentation

◆ ConfigureMapInfo

Function Documentation

◆ AcquireConfigureCache()

◆ ConfigureCompare()

static int ConfigureCompare ( const void *  x,
const void *  y 
)
static

Definition at line 499 of file configure.c.

Referenced by GetConfigureList().

◆ ConfigureComponentGenesis()

WizardExport WizardBooleanType ConfigureComponentGenesis ( void  )

Definition at line 211 of file configure.c.

References AcquireSemaphoreInfo(), configure_semaphore, and WizardTrue.

Referenced by WizardsToolkitGenesis().

◆ ConfigureComponentTerminus()

◆ ConfigureInfoCompare()

static int ConfigureInfoCompare ( const void *  x,
const void *  y 
)
static

Definition at line 403 of file configure.c.

Referenced by GetConfigureInfoList().

◆ DestroyConfigureElement()

static void * DestroyConfigureElement ( void *  configure_info)
static

◆ DestroyConfigureOptions()

WizardExport LinkedListInfo * DestroyConfigureOptions ( LinkedListInfo options)

Definition at line 298 of file configure.c.

References DestroyLinkedList(), and DestroyOptions().

Referenced by AcquireConfigureCache(), AcquireLogCache(), and AcquireMimeCache().

◆ DestroyOptions()

static void * DestroyOptions ( void *  option)
static

Definition at line 293 of file configure.c.

References DestroyStringInfo().

Referenced by DestroyConfigureOptions().

◆ GetConfigureInfo()

◆ GetConfigureInfoList()

◆ GetConfigureList()

◆ GetConfigureOptions()

◆ GetConfigurePaths()

◆ GetConfigureValue()

WizardExport const char * GetConfigureValue ( const ConfigureInfo configure_info)

◆ IsConfigureCacheInstantiated()

◆ ListConfigureInfo()

WizardExport WizardBooleanType ListConfigureInfo ( FILE *  file,
ExceptionInfo exception 
)

◆ LoadConfigureCache()

Variable Documentation

◆ configure_cache

◆ configure_semaphore

◆ ConfigureMap

const ConfigureMapInfo ConfigureMap[]
static
Initial value:
=
{
{ "NAME", "ImageMagick" }
}

Definition at line 77 of file configure.c.

Referenced by AcquireConfigureCache().