MagickCore  6.8.5
configure.c File Reference
#include "magick/studio.h"
#include "magick/blob.h"
#include "magick/client.h"
#include "magick/configure.h"
#include "magick/exception.h"
#include "magick/exception-private.h"
#include "magick/hashmap.h"
#include "magick/log.h"
#include "magick/memory_.h"
#include "magick/semaphore.h"
#include "magick/string_.h"
#include "magick/token.h"
#include "magick/utility.h"
#include "magick/xml-tree.h"
Include dependency graph for configure.c:

Data Structures

struct  _ConfigureMapInfo

Macros

#define ConfigureFilename   "configure.xml"
#define MAGICKCORE_FEATURE_OPENMP_STR   ""
#define MAGICKCORE_FEATURE_OPENCL_STR   ""
#define MAGICKCORE_FEATURE_ZERO_CONFIGURATION_STR   ""
#define MAGICKCORE_FEATURE_HDRI_STR   ""
#define MAGICKCORE_FEATURES_STR   MAGICKCORE_FEATURE_OPENMP_STR MAGICKCORE_FEATURE_OPENCL_STR MAGICKCORE_FEATURE_ZERO_CONFIGURATION_STR MAGICKCORE_FEATURE_HDRI_STR
#define RegistryKey   "ConfigurePath"
#define MagickCoreDLL   "CORE_RL_magick_.dll"
#define MagickCoreDebugDLL   "CORE_DB_magick_.dll"

Typedefs

typedef struct _ConfigureMapInfo ConfigureMapInfo

Functions

static MagickBooleanType InitializeConfigureList (ExceptionInfo *)
static MagickBooleanType LoadConfigureLists (const char *, ExceptionInfo *)
MagickExport MagickBooleanType ConfigureComponentGenesis (void)
static void * DestroyConfigureElement (void *configure_info)
MagickExport void ConfigureComponentTerminus (void)
static void * DestroyOptions (void *option)
MagickExport LinkedListInfoDestroyConfigureOptions (LinkedListInfo *options)
MagickExport const ConfigureInfoGetConfigureInfo (const char *name, ExceptionInfo *exception)
static int ConfigureInfoCompare (const void *x, const void *y)
MagickExport const ConfigureInfo ** GetConfigureInfoList (const char *pattern, size_t *number_options, ExceptionInfo *exception)
static int ConfigureCompare (const void *x, const void *y)
MagickExport char ** GetConfigureList (const char *pattern, size_t *number_options, ExceptionInfo *exception)
MagickExport char * GetConfigureOption (const char *option)
MagickExport LinkedListInfoGetConfigureOptions (const char *filename, ExceptionInfo *exception)
MagickExport LinkedListInfoGetConfigurePaths (const char *filename, ExceptionInfo *exception)
MagickExport const char * GetConfigureValue (const ConfigureInfo *configure_info)
MagickExport MagickBooleanType ListConfigureInfo (FILE *file, ExceptionInfo *exception)
static MagickBooleanType 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 MagickBooleanType instantiate_configure = MagickFalse

Macro Definition Documentation

#define ConfigureFilename   "configure.xml"

Referenced by InitializeConfigureList().

#define MAGICKCORE_FEATURE_HDRI_STR   ""
#define MAGICKCORE_FEATURE_OPENCL_STR   ""
#define MAGICKCORE_FEATURE_OPENMP_STR   ""
#define MAGICKCORE_FEATURE_ZERO_CONFIGURATION_STR   ""
#define MagickCoreDebugDLL   "CORE_DB_magick_.dll"

Referenced by GetConfigurePaths().

#define MagickCoreDLL   "CORE_RL_magick_.dll"

Referenced by GetConfigurePaths().

#define RegistryKey   "ConfigurePath"

Referenced by GetConfigurePaths().

Typedef Documentation

Function Documentation

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

References LocaleCompare().

Referenced by GetConfigureList().

MagickExport MagickBooleanType ConfigureComponentGenesis ( void  )
static int ConfigureInfoCompare ( const void *  x,
const void *  y 
)
static

References LocaleCompare().

Referenced by GetConfigureInfoList().

static void* DestroyConfigureElement ( void *  configure_info)
static
static void* DestroyOptions ( void *  option)
static

References DestroyStringInfo().

Referenced by DestroyConfigureOptions().

MagickExport const char* GetConfigureValue ( const ConfigureInfo configure_info)

Variable Documentation

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

Referenced by LoadConfigureLists().

volatile MagickBooleanType instantiate_configure = MagickFalse
static