MagickCore  7.0.0
configure.c File Reference
Include dependency graph for configure.c:

Go to the source code of this file.

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_MagickCore_.dll"
 
#define MagickCoreDebugDLL   "CORE_DB_MagickCore_.dll"
 

Typedefs

typedef struct _ConfigureMapInfo ConfigureMapInfo
 

Functions

static MagickBooleanType InitializeConfigureList (ExceptionInfo *)
 
static MagickBooleanType LoadConfigureLists (const char *, ExceptionInfo *)
 
MagickPrivate MagickBooleanType ConfigureComponentGenesis (void)
 
static void * DestroyConfigureElement (void *configure_info)
 
MagickPrivate 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"

Definition at line 63 of file configure.c.

Referenced by InitializeConfigureList().

#define MAGICKCORE_FEATURE_HDRI_STR   ""

Definition at line 83 of file configure.c.

#define MAGICKCORE_FEATURE_OPENCL_STR   ""

Definition at line 73 of file configure.c.

#define MAGICKCORE_FEATURE_OPENMP_STR   ""

Definition at line 68 of file configure.c.

#define MAGICKCORE_FEATURE_ZERO_CONFIGURATION_STR   ""

Definition at line 78 of file configure.c.

#define MagickCoreDebugDLL   "CORE_DB_MagickCore_.dll"

Referenced by GetConfigurePaths().

#define MagickCoreDLL   "CORE_RL_MagickCore_.dll"

Referenced by GetConfigurePaths().

#define RegistryKey   "ConfigurePath"

Referenced by GetConfigurePaths().

Typedef Documentation

Function Documentation

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

Definition at line 430 of file configure.c.

References LocaleCompare().

Referenced by GetConfigureList().

MagickPrivate MagickBooleanType ConfigureComponentGenesis ( void  )

Definition at line 143 of file configure.c.

References AcquireSemaphoreInfo(), configure_semaphore, and MagickTrue.

Referenced by MagickCoreGenesis().

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

Definition at line 334 of file configure.c.

References LocaleCompare().

Referenced by GetConfigureInfoList().

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

Definition at line 224 of file configure.c.

References DestroyStringInfo().

Referenced by DestroyConfigureOptions().

MagickExport char* GetConfigureOption ( const char *  option)
MagickExport const char* GetConfigureValue ( const ConfigureInfo configure_info)

Variable Documentation

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

Definition at line 102 of file configure.c.

Referenced by LoadConfigureLists().

volatile MagickBooleanType instantiate_configure = MagickFalse
static