diff options
Diffstat (limited to 'dmagick/c/locale.d')
| -rw-r--r-- | dmagick/c/locale.d | 43 |
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(); +} |
