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/locale.d | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 dmagick/c/locale.d (limited to 'dmagick/c/locale.d') 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(); +} -- cgit v1.2.3