/dmagick/c/magickDelegate.d
http://github.com/MikeWey/DMagick · D · 60 lines · 45 code · 15 blank · 0 comment · 1 complexity · 1590d094dc2900b90854d51bb199c58c MD5 · raw file
- module dmagick.c.magickDelegate;
- import core.stdc.stdio;
- import dmagick.c.exception;
- import dmagick.c.image;
- import dmagick.c.magickType;
- import dmagick.c.magickVersion;
- import dmagick.c.semaphore;
- alias ptrdiff_t ssize_t;
- extern(C)
- {
- struct DelegateInfo
- {
- char*
- path,
- decode,
- encode,
- commands;
- ssize_t
- mode;
- MagickBooleanType
- thread_support,
- spawn,
- stealth;
- DelegateInfo*
- previous,
- next;
- size_t
- signature;
- static if ( MagickLibVersion >= 0x689 )
- {
- SemaphoreInfo* semaphore;
- }
- }
- char* GetDelegateCommand(const(ImageInfo)*, Image*, const(char)*, const(char)*, ExceptionInfo*);
- char** GetDelegateList(const(char)*,size_t *,ExceptionInfo *);
- const(char)* GetDelegateCommands(const(DelegateInfo)*);
- const(DelegateInfo)* GetDelegateInfo(const(char)*, const(char)*, ExceptionInfo* exception);
- const(DelegateInfo)** GetDelegateInfoList(const(char)*, size_t*, ExceptionInfo*);
- ssize_t GetDelegateMode(const(DelegateInfo)*);
- MagickBooleanType DelegateComponentGenesis();
- MagickBooleanType GetDelegateThreadSupport(const(DelegateInfo)*);
- MagickBooleanType InvokeDelegate(ImageInfo*, Image*, const(char)*, const(char)*, ExceptionInfo*);
- MagickBooleanType ListDelegateInfo(FILE*, ExceptionInfo*);
- void DelegateComponentTerminus();
- }