diff options
Diffstat (limited to 'dmagick/c/magickDelegate.d')
| -rw-r--r-- | dmagick/c/magickDelegate.d | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/dmagick/c/magickDelegate.d b/dmagick/c/magickDelegate.d new file mode 100644 index 0000000..e458c33 --- /dev/null +++ b/dmagick/c/magickDelegate.d @@ -0,0 +1,52 @@ +module dmagick.c.magickDelegate; + +import core.stdc.stdio; +import core.sys.posix.sys.types; + +import dmagick.c.exception; +import dmagick.c.image; +import dmagick.c.magickType; + +extern(C) +{ + struct DelegateInfo + { + char* + path, + decode, + encode, + commands; + + ssize_t + mode; + + MagickBooleanType + thread_support, + spawn, + stealth; + + DelegateInfo* + previous, + next; + + size_t + signature; + } + + 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(); +} |
