summaryrefslogtreecommitdiff
path: root/dmagick/c/locale.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/locale.d
initial checkin
Diffstat (limited to 'dmagick/c/locale.d')
-rw-r--r--dmagick/c/locale.d43
1 files changed, 43 insertions, 0 deletions
diff --git a/dmagick/c/locale.d b/dmagick/c/locale.d
new file mode 100644
index 0000000..73f1a11
--- /dev/null
+++ b/dmagick/c/locale.d
@@ -0,0 +1,43 @@
+module dmagick.c.locale;
+
+import core.stdc.stdio;
+
+import dmagick.c.exception;
+import dmagick.c.hashmap;
+import dmagick.c.magickType;
+
+extern(C)
+{
+ struct LocaleInfo
+ {
+ char*
+ path,
+ tag,
+ message;
+
+ MagickBooleanType
+ stealth;
+
+ LocaleInfo*
+ previous,
+ next;
+
+ size_t
+ signature;
+ }
+
+ char** GetLocaleList(const char*, size_t*, ExceptionInfo*);
+
+ const(char*) GetLocaleMessage(const char*);
+
+ const(LocaleInfo*) GetLocaleInfo_(const char*, ExceptionInfo*);
+ const(LocaleInfo**) GetLocaleInfoList(const char*, size_t*, ExceptionInfo*);
+
+ LinkedListInfo* DestroyLocaleOptions(LinkedListInfo*);
+ LinkedListInfo* GetLocaleOptions(const char*, ExceptionInfo*);
+
+ MagickBooleanType ListLocaleInfo(FILE*, ExceptionInfo*);
+ MagickBooleanType LocaleComponentGenesis();
+
+ void LocaleComponentTerminus();
+}