diff options
| author | Mike Wey | 2011-01-08 17:48:30 +0100 |
|---|---|---|
| committer | Mike Wey | 2011-01-08 17:48:30 +0100 |
| commit | cbac78bbec726017355cb455a776f193e7fc3022 (patch) | |
| tree | a41c564c7ef5aec9dd2b18e58e94b213193044be /dmagick/c/coder.d | |
initial checkin
Diffstat (limited to 'dmagick/c/coder.d')
| -rw-r--r-- | dmagick/c/coder.d | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dmagick/c/coder.d b/dmagick/c/coder.d new file mode 100644 index 0000000..52f5d32 --- /dev/null +++ b/dmagick/c/coder.d @@ -0,0 +1,37 @@ +module dmagick.c.coder; + +import core.stdc.stdio; + +import dmagick.c.exception; +import dmagick.c.magickType; + +extern(C) +{ + struct CoderInfo + { + char* + path, + magick, + name; + + MagickBooleanType + exempt, + stealth; + + CoderInfo* + previous, + next; + + size_t + signature; + } + + char** GetCoderList(const char*, size_t*, ExceptionInfo*); + + const(CoderInfo*) GetCoderInfo(const char*, ExceptionInfo*); + const(CoderInfo**) GetCoderInfoList(const char*, size_t*, ExceptionInfo*); + + MagickBooleanType CoderComponentGenesis(); + MagickBooleanType ListCoderInfo(FILE*, ExceptionInfo*); +} + void CoderComponentTerminus(); |
