PageRenderTime 33ms CodeModel.GetById 25ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 1ms

/dmagick/c/mime.d

http://github.com/MikeWey/DMagick
D | 32 lines | 22 code | 10 blank | 0 comment | 1 complexity | e0a4a6cdbc48eb79f428c9a25fdbe3d5 MD5 | raw file
 1module dmagick.c.mime;
 2
 3import core.stdc.stdio;
 4
 5import dmagick.c.exception;
 6import dmagick.c.magickType;
 7import dmagick.c.magickVersion;
 8
 9extern(C)
10{
11	struct MimeInfo {}
12
13	char** GetMimeList(const(char)*, size_t*, ExceptionInfo*);
14	char*  MagickToMime(const(char)*);
15
16	const(char)* GetMimeDescription(const(MimeInfo)*);
17	const(char)* GetMimeType(const(MimeInfo)*);
18
19	MagickBooleanType ListMimeInfo(FILE*, ExceptionInfo*);
20
21	static if ( MagickLibVersion < 0x689 )
22	{
23		MagickBooleanType LoadMimeLists(const(char)*, ExceptionInfo*);
24	}
25
26	MagickBooleanType MimeComponentGenesis();
27
28	const(MimeInfo)*  GetMimeInfo(const(char)*, const(ubyte)*, const size_t, ExceptionInfo*);
29	const(MimeInfo)** GetMimeInfoList(const(char)*, size_t*, ExceptionInfo*);
30
31	void MimeComponentTerminus();
32}