view planemo/lib/python3.7/site-packages/lxml/includes/c14n.pxd @ 1:56ad4e20f292 draft

"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
author guerler
date Fri, 31 Jul 2020 00:32:28 -0400
parents
children
line wrap: on
line source

from lxml.includes.tree cimport xmlDoc, xmlOutputBuffer, xmlChar
from lxml.includes.xpath cimport xmlNodeSet

cdef extern from "libxml/c14n.h":
    cdef int xmlC14NDocDumpMemory(xmlDoc* doc,
                                  xmlNodeSet* nodes,
                                  int exclusive,
                                  xmlChar** inclusive_ns_prefixes,
                                  int with_comments,
                                  xmlChar** doc_txt_ptr) nogil

    cdef int xmlC14NDocSave(xmlDoc* doc,
                            xmlNodeSet* nodes,
                            int exclusive,
                            xmlChar** inclusive_ns_prefixes,
                            int with_comments,
                            char* filename,
                            int compression) nogil

    cdef int xmlC14NDocSaveTo(xmlDoc* doc,
                              xmlNodeSet* nodes,
                              int exclusive,
                              xmlChar** inclusive_ns_prefixes,
                              int with_comments,
                              xmlOutputBuffer* buffer) nogil