/
c14n.pxd
26 lines (22 loc) · 1.04 KB
/
c14n.pxd
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
from tree cimport xmlDoc, xmlOutputBuffer
from xpath cimport xmlNodeSet
cdef extern from "libxml/c14n.h":
cdef int xmlC14NDocDumpMemory(xmlDoc* doc,
xmlNodeSet* nodes,
int exclusive,
char** inclusive_ns_prefixes,
int with_comments,
char** doc_txt_ptr)
cdef int xmlC14NDocSave(xmlDoc* doc,
xmlNodeSet* nodes,
int exclusive,
char** inclusive_ns_prefixes,
int with_comments,
char* filename,
int compression)
cdef int xmlC14NDocSaveTo(xmlDoc* doc,
xmlNodeSet* nodes,
int exclusive,
char** inclusive_ns_prefixes,
int with_comments,
xmlOutputBuffer* buffer)