Mercurial > repos > guerler > springsuite
comparison planemo/lib/python3.7/site-packages/lxml/includes/dtdvalid.pxd @ 1:56ad4e20f292 draft
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
author | guerler |
---|---|
date | Fri, 31 Jul 2020 00:32:28 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:d30785e31577 | 1:56ad4e20f292 |
---|---|
1 from lxml.includes cimport tree | |
2 from lxml.includes.tree cimport xmlDoc, xmlDtd | |
3 | |
4 cdef extern from "libxml/valid.h" nogil: | |
5 ctypedef void (*xmlValidityErrorFunc)(void * ctx, const char * msg, ...) | |
6 ctypedef void (*xmlValidityWarningFunc)(void * ctx, const char * msg, ...) | |
7 | |
8 ctypedef struct xmlValidCtxt: | |
9 void *userData | |
10 xmlValidityErrorFunc error | |
11 xmlValidityWarningFunc warning | |
12 | |
13 cdef xmlValidCtxt* xmlNewValidCtxt() | |
14 cdef void xmlFreeValidCtxt(xmlValidCtxt* cur) | |
15 | |
16 cdef int xmlValidateDtd(xmlValidCtxt* ctxt, xmlDoc* doc, xmlDtd* dtd) | |
17 cdef tree.xmlElement* xmlGetDtdElementDesc( | |
18 xmlDtd* dtd, tree.const_xmlChar* name) |