forked from xmlsec/python-xmlsec
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtree.pxd
More file actions
68 lines (41 loc) · 2.19 KB
/
tree.pxd
File metadata and controls
68 lines (41 loc) · 2.19 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
from lxml.includes.tree cimport const_xmlChar, xmlNode, xmlDoc
cdef extern from "xmlsec.h": # xmlsec/xmltree.h
# const_xmlChar* xmlSecGetNodeNsHref(xmlNode* node)
# bint xmlSecCheckNodeName(
# xmlNode* node, const_xmlChar* name, const_xmlChar* ns)
# xmlNode* xmlSecGetNextElementNode(xmlNode* node)
xmlNode* xmlSecFindChild(
xmlNode* parent, const_xmlChar* name, const_xmlChar* ns)
xmlNode* xmlSecFindParent(
xmlNode* node, const_xmlChar* name, const_xmlChar* ns)
xmlNode* xmlSecFindNode(
xmlNode* parent, const_xmlChar* name, const_xmlChar* ns)
# xmlNode* xmlSecAddChild(
# xmlNode* parent, const_xmlChar* name, const_xmlChar* ns)
# xmlNode* xmlSecAddChildNode(xmlNode* parent, xmlNode* child)
# xmlNode* xmlSecAddNextSibling(
# xmlNode* node, const_xmlChar* name, const_xmlChar* ns)
# xmlNode* xmlSecAddPrevSibling(
# xmlNode* node, const_xmlChar* name, const_xmlChar* ns)
# int xmlSecReplaceNode(xmlNode* node, xmlNode* new_node)
# int xmlSecReplaceNodeAndReturn(
# xmlNode* node, xmlNode* new_node, xmlNode** replaced)
# int xmlSecReplaceContent(xmlNode* node, xmlNode* new_node)
# int xmlSecReplaceContentAndReturn(
# xmlNode* node, xmlNode* new_node, xmlNode** replaced)
# int xmlSecReplaceNodeBuffer(
# xmlNode* node, const_xmlSecByte* buffer, xmlSecSize size)
# int xmlSecReplaceNodeBufferAndReturn(
# xmlNode* node, const_xmlSecByte* buffer, xmlSecSize size,
# xmlNode** replaced)
# int xmlSecNodeEncodeAndSetContent(xmlNode* node, const_xmlChar* buffer)
int xmlSecAddIDs(xmlDoc* document, xmlNode* node, const_xmlChar** ids) nogil
# int xmlSecGenerateAndAddID(
# xmlNode* node, const_xmlChar* name, const_xmlChar* prefix)
# xmlChar* xmlSecGenerateID(const_xmlChar* prefix, xmlSecSize length)
# xmlDoc* xmlSecCreateTree(const_xmlChar* name, const_xmlChar* ns)
# bint xmlSecIsEmptyNode(xmlNode* node)
# bint xmlSecIsEmptyString(const_xmlChar* text)
# xmlChar* xmlSecGetQName(
# xmlNode* node, const_xmlChar* href, const_xmlChar* local)
# int xmlSecPrintXmlString(FILE*, const_xmlChar* text)