summaryrefslogtreecommitdiff
path: root/dmagick/c/registry.d
blob: d8b528c1efb3a11871009c2c80c6ad25a165b569 (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
module dmagick.c.registry;

import dmagick.c.exception;
import dmagick.c.magickType;

extern(C)
{
	enum RegistryType
	{
		UndefinedRegistryType,
		ImageRegistryType,
		ImageInfoRegistryType,
		StringRegistryType
	}

	char* GetNextImageRegistry();

	MagickBooleanType DefineImageRegistry(const RegistryType, const(char)*, ExceptionInfo*);
	MagickBooleanType DeleteImageRegistry(const(char)*);
	MagickBooleanType RegistryComponentGenesis();
	MagickBooleanType SetImageRegistry(const RegistryType, const(char)*, const(void)*, ExceptionInfo*);

	void* GetImageRegistry(const RegistryType, const(char)*, ExceptionInfo*);
	void  RegistryComponentTerminus();
	void* RemoveImageRegistry(const(char)*);
	void  ResetImageRegistryIterator();
}