MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
|
#include "MagickCore/studio.h"
#include "MagickCore/exception.h"
#include "MagickCore/exception-private.h"
#include "MagickCore/image.h"
#include "MagickCore/list.h"
#include "MagickCore/memory_.h"
#include "MagickCore/memory-private.h"
#include "MagickCore/registry.h"
#include "MagickCore/registry-private.h"
#include "MagickCore/splay-tree.h"
#include "MagickCore/string_.h"
#include "MagickCore/utility.h"
Go to the source code of this file.
Data Structures | |
struct | _RegistryInfo |
Typedefs | |
typedef struct _RegistryInfo | RegistryInfo |
Functions | |
MagickExport MagickBooleanType | DefineImageRegistry (const RegistryType type, const char *option, ExceptionInfo *exception) |
MagickExport MagickBooleanType | DeleteImageRegistry (const char *key) |
MagickExport void * | GetImageRegistry (const RegistryType type, const char *key, ExceptionInfo *exception) |
MagickExport char * | GetNextImageRegistry (void) |
MagickPrivate MagickBooleanType | RegistryComponentGenesis (void) |
MagickPrivate void | RegistryComponentTerminus (void) |
MagickExport void * | RemoveImageRegistry (const char *key) |
MagickExport void | ResetImageRegistryIterator (void) |
static void * | DestroyRegistryNode (void *registry_info) |
MagickExport MagickBooleanType | SetImageRegistry (const RegistryType type, const char *key, const void *value, ExceptionInfo *exception) |
Variables | |
static SplayTreeInfo * | registry = (SplayTreeInfo *) NULL |
static SemaphoreInfo * | registry_semaphore = (SemaphoreInfo *) NULL |
typedef struct _RegistryInfo RegistryInfo |
MagickExport MagickBooleanType DefineImageRegistry | ( | const RegistryType | type, |
const char * | option, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 107 of file registry.c.
References CopyMagickString(), MagickPathExtent, and SetImageRegistry().
MagickExport MagickBooleanType DeleteImageRegistry | ( | const char * | key | ) |
Definition at line 151 of file registry.c.
References DeleteNodeFromSplayTree(), GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickFalse, registry, and TraceEvent.
|
static |
Definition at line 424 of file registry.c.
References DestroyImageInfo(), DestroyImageList(), ImageInfoRegistryType, ImageRegistryType, RelinquishMagickMemory(), StringRegistryType, _RegistryInfo::type, and _RegistryInfo::value.
Referenced by SetImageRegistry().
MagickExport void * GetImageRegistry | ( | const RegistryType | type, |
const char * | key, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 187 of file registry.c.
References CloneImageInfo(), CloneImageList(), ConstantString(), GetMagickModule, GetValueFromSplayTree(), ImageInfoRegistryType, ImageRegistryType, IsEventLogging(), LogMagickEvent(), MagickFalse, registry, StringRegistryType, TraceEvent, _RegistryInfo::type, and _RegistryInfo::value.
Referenced by GetHostname(), GetPathTemplate(), IdentifyImage(), IsCommandOption(), and OpenPixelCache().
MagickExport char * GetNextImageRegistry | ( | void | ) |
Definition at line 268 of file registry.c.
References GetMagickModule, GetNextKeyInSplayTree(), IsEventLogging(), LogMagickEvent(), MagickFalse, registry, and TraceEvent.
Referenced by IdentifyImage().
MagickPrivate MagickBooleanType RegistryComponentGenesis | ( | void | ) |
Definition at line 295 of file registry.c.
References AcquireSemaphoreInfo(), MagickTrue, and registry_semaphore.
Referenced by MagickCoreGenesis().
MagickPrivate void RegistryComponentTerminus | ( | void | ) |
Definition at line 320 of file registry.c.
References ActivateSemaphoreInfo(), DestroySplayTree(), GetMagickModule, IsEventLogging(), LockSemaphoreInfo(), LogMagickEvent(), MagickFalse, registry, registry_semaphore, RelinquishSemaphoreInfo(), TraceEvent, and UnlockSemaphoreInfo().
Referenced by MagickCoreTerminus().
MagickExport void * RemoveImageRegistry | ( | const char * | key | ) |
Definition at line 356 of file registry.c.
References GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickFalse, registry, RemoveNodeFromSplayTree(), and TraceEvent.
MagickExport void ResetImageRegistryIterator | ( | void | ) |
Definition at line 385 of file registry.c.
References GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickFalse, registry, ResetSplayTreeIterator(), and TraceEvent.
Referenced by IdentifyImage().
MagickExport MagickBooleanType SetImageRegistry | ( | const RegistryType | type, |
const char * | key, | ||
const void * | value, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 452 of file registry.c.
References AcquireCriticalMemory(), ActivateSemaphoreInfo(), AddValueToSplayTree(), CloneImageInfo(), CloneImageList(), CompareSplayTreeString(), ConstantString(), DestroyRegistryNode(), GetMagickModule, ImageInfoRegistryType, ImageRegistryType, IsEventLogging(), LockSemaphoreInfo(), LogMagickEvent(), MagickCoreSignature, MagickFalse, NewSplayTree(), registry, registry_semaphore, RegistryError, RelinquishMagickMemory(), _Image::signature, _ImageInfo::signature, _RegistryInfo::signature, StringRegistryType, ThrowMagickException(), TraceEvent, _RegistryInfo::type, UnlockSemaphoreInfo(), and _RegistryInfo::value.
Referenced by DefineImageRegistry().
|
static |
Definition at line 75 of file registry.c.
Referenced by DeleteImageRegistry(), GetImageRegistry(), GetNextImageRegistry(), IdentifyImage(), RegistryComponentTerminus(), RemoveImageRegistry(), ResetImageRegistryIterator(), and SetImageRegistry().
|
static |
Definition at line 78 of file registry.c.
Referenced by RegistryComponentGenesis(), RegistryComponentTerminus(), and SetImageRegistry().