/* Methods to Read/Write/Invoke Delegates. */ #ifndef _MAGICK_DELEGATE_H #define _MAGICK_DELEGATE_H #if defined(__cplusplus) || defined(c_plusplus) extern "C" { #endif /* Delegate structure definitions. */ typedef struct _DelegateInfo { const char *filename, *decode, *encode, *commands; int mode; unsigned int stealth, spawn; unsigned long signature; struct _DelegateInfo *previous, *next; } DelegateInfo; /* Magick delegate methods. */ extern MagickExport char *GetDelegateCommand(const ImageInfo *,Image *,const char *,const char *, ExceptionInfo *); extern MagickExport const DelegateInfo *GetDelegateInfo(const char *,const char *,ExceptionInfo *exception); extern MagickExport DelegateInfo *SetDelegateInfo(DelegateInfo *); extern MagickExport unsigned int InvokeDelegate(ImageInfo *,Image *,const char *,const char *,ExceptionInfo *), ListDelegateInfo(FILE *,ExceptionInfo *); extern MagickExport void DestroyDelegateInfo(void); #if defined(__cplusplus) || defined(c_plusplus) } #endif #endif .