Data Structures | Defines | Typedefs | Functions | Variables

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"

Data Structures

struct  _ConfigureMapInfo

Defines

#define ConfigureFilename   "configure.xml"

Typedefs

typedef struct _ConfigureMapInfo ConfigureMapInfo

Functions

static WizardBooleanType InitializeConfigureList (ExceptionInfo *)
static WizardBooleanType LoadConfigureLists (const char *, ExceptionInfo *)
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)
static WizardBooleanType LoadConfigureList (const char *xml, const char *filename, const size_t depth, ExceptionInfo *exception)

Variables

static const ConfigureMapInfo ConfigureMap []
static LinkedListInfoconfigure_list = (LinkedListInfo *) NULL
static SemaphoreInfoconfigure_semaphore = (SemaphoreInfo *) NULL
static volatile WizardBooleanType instantiate_configure = WizardFalse

Define Documentation

#define ConfigureFilename   "configure.xml"

Referenced by InitializeConfigureList().


Typedef Documentation


Function Documentation

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

References strcasecmp.

Referenced by GetConfigureList().

WizardExport WizardBooleanType ConfigureComponentGenesis ( void   ) 
WizardExport void ConfigureComponentTerminus ( void   ) 
static int ConfigureInfoCompare ( const void *  x,
const void *  y 
) [static]

References strcasecmp.

Referenced by GetConfigureInfoList().

static void* DestroyConfigureElement ( void *  configure_info  )  [static]
WizardExport LinkedListInfo* DestroyConfigureOptions ( LinkedListInfo options  ) 
static void* DestroyOptions ( void *  option  )  [static]

References DestroyStringInfo().

Referenced by DestroyConfigureOptions().

WizardExport const ConfigureInfo* GetConfigureInfo ( const char *  name,
ExceptionInfo exception 
)
WizardExport const ConfigureInfo** GetConfigureInfoList ( const char *  pattern,
size_t *  number_options,
ExceptionInfo exception 
)
WizardExport char** GetConfigureList ( const char *  pattern,
size_t *  number_options,
ExceptionInfo exception 
)
WizardExport LinkedListInfo* GetConfigureOptions ( const char *  filename,
ExceptionInfo exception 
)
WizardExport LinkedListInfo* GetConfigurePaths ( const char *  filename,
ExceptionInfo exception 
)
WizardExport const char* GetConfigureValue ( const ConfigureInfo configure_info  ) 
static WizardBooleanType InitializeConfigureList ( ExceptionInfo exception  )  [static]
WizardExport WizardBooleanType ListConfigureInfo ( FILE *  file,
ExceptionInfo exception 
)
static WizardBooleanType LoadConfigureList ( const char *  xml,
const char *  filename,
const size_t  depth,
ExceptionInfo exception 
) [static]
static WizardBooleanType LoadConfigureLists ( const char *  filename,
ExceptionInfo exception 
)

Variable Documentation

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

Referenced by LoadConfigureLists().

volatile WizardBooleanType instantiate_configure = WizardFalse [static]