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

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

extern(C)
{
	struct XMLTreeInfo {}

	char* CanonicalXMLContent(const char*, const MagickBooleanType);
	char* XMLTreeInfoToXML(XMLTreeInfo*);

	const(char)*  GetXMLTreeAttribute(XMLTreeInfo*, const char*);
	const(char)*  GetXMLTreeContent(XMLTreeInfo*);
	const(char)** GetXMLTreeProcessingInstructions(XMLTreeInfo*, const char*);
	const(char)*  GetXMLTreeTag(XMLTreeInfo*);

	MagickBooleanType GetXMLTreeAttributes(const XMLTreeInfo*, SplayTreeInfo*);

	XMLTreeInfo* AddChildToXMLTree(XMLTreeInfo*, const char*, const size_t);
	XMLTreeInfo* AddPathToXMLTree(XMLTreeInfo*, const char*, const size_t);
	XMLTreeInfo* DestroyXMLTree(XMLTreeInfo*);
	XMLTreeInfo* GetNextXMLTreeTag(XMLTreeInfo*);
	XMLTreeInfo* GetXMLTreeChild(XMLTreeInfo*, const char*);
	XMLTreeInfo* GetXMLTreeOrdered(XMLTreeInfo*);
	XMLTreeInfo* GetXMLTreePath(XMLTreeInfo*, const char*);
	XMLTreeInfo* GetXMLTreeSibling(XMLTreeInfo*);
	XMLTreeInfo* InsertTagIntoXMLTree(XMLTreeInfo*, XMLTreeInfo*, const size_t);
	XMLTreeInfo* NewXMLTree(const char*, ExceptionInfo*);
	XMLTreeInfo* NewXMLTreeTag(const char*);
	XMLTreeInfo* ParseTagFromXMLTree(XMLTreeInfo*);
	XMLTreeInfo* PruneTagFromXMLTree(XMLTreeInfo*);
	XMLTreeInfo* SetXMLTreeAttribute(XMLTreeInfo*, const char*, const char*);
	XMLTreeInfo* SetXMLTreeContent(XMLTreeInfo*, const char*);
}