Mercurial > repos > shellac > sam_consensus_v3
comparison env/lib/python3.9/site-packages/lxml/includes/dtdvalid.pxd @ 0:4f3585e2f14b draft default tip
"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author | shellac |
---|---|
date | Mon, 22 Mar 2021 18:12:50 +0000 (2021-03-22) |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4f3585e2f14b |
---|---|
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) |