summaryrefslogtreecommitdiff
path: root/dmagick/c/configure.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/configure.d
initial checkin
Diffstat (limited to 'dmagick/c/configure.d')
-rw-r--r--dmagick/c/configure.d46
1 files changed, 46 insertions, 0 deletions
diff --git a/dmagick/c/configure.d b/dmagick/c/configure.d
new file mode 100644
index 0000000..ffd7942
--- /dev/null
+++ b/dmagick/c/configure.d
@@ -0,0 +1,46 @@
+module dmagick.c.configure;
+
+import core.stdc.stdio;
+
+import dmagick.c.exception;
+import dmagick.c.hashmap;
+import dmagick.c.magickType;
+
+extern(C)
+{
+ struct ConfigureInfo
+ {
+ char*
+ path,
+ name,
+ value;
+
+ MagickBooleanType
+ exempt,
+ stealth;
+
+ ConfigureInfo*
+ previous,
+ next;
+
+ size_t
+ signature;
+ }
+
+ char** GetConfigureList(const char*, size_t*, ExceptionInfo*);
+ char* GetConfigureOption(const char*);
+
+ const(char*) GetConfigureValue(const ConfigureInfo*);
+
+ const(ConfigureInfo*) GetConfigureInfo(const char*, ExceptionInfo*);
+ const(ConfigureInfo**) GetConfigureInfoList(const char*, size_t*, ExceptionInfo*);
+
+ LinkedListInfo* DestroyConfigureOptions(LinkedListInfo *);
+ LinkedListInfo* GetConfigurePaths(const char *,ExceptionInfo *);
+ LinkedListInfo* GetConfigureOptions(const char *,ExceptionInfo *);
+
+ MagickBooleanType ConfigureComponentGenesis();
+ MagickBooleanType ListConfigureInfo(FILE*, ExceptionInfo*);
+
+ void ConfigureComponentTerminus();
+}