summaryrefslogtreecommitdiff
path: root/dmagick/c/configure.d
blob: cb4a68fe5d32237bdbc68f1c02f7fe9f042b736a (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
44
45
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();
}