delegate.c File Reference

#include "magick/studio.h"
#include "magick/property.h"
#include "magick/blob.h"
#include "magick/client.h"
#include "magick/configure.h"
#include "magick/constitute.h"
#include "magick/delegate.h"
#include "magick/exception.h"
#include "magick/exception-private.h"
#include "magick/hashmap.h"
#include "magick/list.h"
#include "magick/memory_.h"
#include "magick/policy.h"
#include "magick/resource_.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 delegate.c:

Go to the source code of this file.

Defines

#define DelegateFilename   "delegates.xml"

Functions

static MagickBooleanType InitializeDelegateList (ExceptionInfo *)
static MagickBooleanType LoadDelegateLists (const char *, ExceptionInfo *)
MagickExport MagickBooleanType DelegateComponentGenesis (void)
static void * DestroyDelegate (void *delegate_info)
MagickExport void DelegateComponentTerminus (void)
MagickExport char * GetDelegateCommand (const ImageInfo *image_info, Image *image, const char *decode, const char *encode, ExceptionInfo *exception)
MagickExport const char * GetDelegateCommands (const DelegateInfo *delegate_info)
MagickExport const DelegateInfoGetDelegateInfo (const char *decode, const char *encode, ExceptionInfo *exception)
static int DelegateInfoCompare (const void *x, const void *y)
MagickExport const DelegateInfo ** GetDelegateInfoList (const char *pattern, unsigned long *number_delegates, ExceptionInfo *exception)
static int DelegateCompare (const void *x, const void *y)
MagickExport char ** GetDelegateList (const char *pattern, unsigned long *number_delegates, ExceptionInfo *exception)
MagickExport long GetDelegateMode (const DelegateInfo *delegate_info)
MagickExport MagickBooleanType GetDelegateThreadSupport (const DelegateInfo *delegate_info)
static size_t MagickMin (const size_t x, const size_t y)
static MagickBooleanType CopyDelegateFile (const char *source, const char *destination)
MagickExport MagickBooleanType InvokeDelegate (ImageInfo *image_info, Image *image, const char *decode, const char *encode, ExceptionInfo *exception)
MagickExport MagickBooleanType ListDelegateInfo (FILE *file, ExceptionInfo *exception)
static MagickBooleanType LoadDelegateList (const char *xml, const char *filename, const unsigned long depth, ExceptionInfo *exception)

Variables

static const char * DelegateMap
static LinkedListInfodelegate_list = (LinkedListInfo *) NULL
static SemaphoreInfodelegate_semaphore = (SemaphoreInfo *) NULL
static volatile MagickBooleanType instantiate_delegate = MagickFalse

Define Documentation

#define DelegateFilename   "delegates.xml"

Definition at line 71 of file delegate.c.

Referenced by InitializeDelegateList().


Function Documentation

static MagickBooleanType CopyDelegateFile ( const char *  source,
const char *  destination 
) [static]
static int DelegateCompare ( const void *  x,
const void *  y 
) [static]

Definition at line 559 of file delegate.c.

References LocaleCompare().

Referenced by GetDelegateList().

MagickExport MagickBooleanType DelegateComponentGenesis ( void   ) 

Definition at line 165 of file delegate.c.

References AcquireSemaphoreInfo(), delegate_semaphore, and MagickTrue.

Referenced by MagickCoreGenesis().

MagickExport void DelegateComponentTerminus ( void   ) 
static int DelegateInfoCompare ( const void *  x,
const void *  y 
) [static]

Definition at line 453 of file delegate.c.

References LocaleCompare().

Referenced by GetDelegateInfoList().

static void* DestroyDelegate ( void *  delegate_info  )  [static]
MagickExport char* GetDelegateCommand ( const ImageInfo image_info,
Image image,
const char *  decode,
const char *  encode,
ExceptionInfo exception 
)
MagickExport const char* GetDelegateCommands ( const DelegateInfo delegate_info  ) 
MagickExport const DelegateInfo* GetDelegateInfo ( const char *  decode,
const char *  encode,
ExceptionInfo exception 
)
MagickExport const DelegateInfo** GetDelegateInfoList ( const char *  pattern,
unsigned long *  number_delegates,
ExceptionInfo exception 
)
MagickExport char** GetDelegateList ( const char *  pattern,
unsigned long *  number_delegates,
ExceptionInfo exception 
)
MagickExport long GetDelegateMode ( const DelegateInfo delegate_info  ) 
MagickExport MagickBooleanType GetDelegateThreadSupport ( const DelegateInfo delegate_info  ) 
static MagickBooleanType InitializeDelegateList ( ExceptionInfo exception  )  [static]
MagickExport MagickBooleanType InvokeDelegate ( ImageInfo image_info,
Image image,
const char *  decode,
const char *  encode,
ExceptionInfo exception 
)
MagickExport MagickBooleanType ListDelegateInfo ( FILE *  file,
ExceptionInfo exception 
)
static MagickBooleanType LoadDelegateList ( const char *  xml,
const char *  filename,
const unsigned long  depth,
ExceptionInfo exception 
) [static]
static MagickBooleanType LoadDelegateLists ( const char *  filename,
ExceptionInfo exception 
)
static size_t MagickMin ( const size_t  x,
const size_t  y 
) [inline, static]

Definition at line 754 of file delegate.c.

Referenced by CopyDelegateFile().


Variable Documentation

const char* DelegateMap [static]

Definition at line 77 of file delegate.c.

Referenced by LoadDelegateLists().

volatile MagickBooleanType instantiate_delegate = MagickFalse [static]

Definition at line 138 of file delegate.c.

Referenced by DelegateComponentTerminus(), GetDelegateInfo(), and InitializeDelegateList().


Generated on 5 Nov 2009 for MagickCore by  doxygen 1.6.1