summaryrefslogtreecommitdiff
path: root/dmagick/c/coder.d
diff options
context:
space:
mode:
authorMike Wey2011-01-08 17:48:30 +0100
committerMike Wey2011-01-08 17:48:30 +0100
commitcbac78bbec726017355cb455a776f193e7fc3022 (patch)
treea41c564c7ef5aec9dd2b18e58e94b213193044be /dmagick/c/coder.d
initial checkin
Diffstat (limited to 'dmagick/c/coder.d')
-rw-r--r--dmagick/c/coder.d37
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();