From cbac78bbec726017355cb455a776f193e7fc3022 Mon Sep 17 00:00:00 2001 From: Mike Wey Date: Sat, 8 Jan 2011 17:48:30 +0100 Subject: initial checkin --- dmagick/c/configure.d | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 dmagick/c/configure.d (limited to 'dmagick/c/configure.d') 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(); +} -- cgit v1.2.3