summaryrefslogtreecommitdiff
path: root/dmagick/c/registry.d
blob: 38ae2fe1da1bf69c59233117e651c5564e76a943 (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();
}