summaryrefslogtreecommitdiff
path: root/dmagick/c/locale.d
blob: 6fe476f6415392562f2a564f8cf1bc100839474d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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();
}