Mercurial > repos > shellac > guppy_basecaller
comparison env/lib/python3.7/site-packages/lxml/includes/relaxng.pxd @ 0:26e78fe6e8c4 draft
"planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
author | shellac |
---|---|
date | Sat, 02 May 2020 07:14:21 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:26e78fe6e8c4 |
---|---|
1 from lxml.includes.tree cimport xmlDoc | |
2 from lxml.includes.xmlerror cimport xmlStructuredErrorFunc | |
3 | |
4 cdef extern from "libxml/relaxng.h": | |
5 ctypedef struct xmlRelaxNG | |
6 ctypedef struct xmlRelaxNGParserCtxt | |
7 | |
8 ctypedef struct xmlRelaxNGValidCtxt | |
9 | |
10 ctypedef enum xmlRelaxNGValidErr: | |
11 XML_RELAXNG_OK = 0 | |
12 XML_RELAXNG_ERR_MEMORY = 1 | |
13 XML_RELAXNG_ERR_TYPE = 2 | |
14 XML_RELAXNG_ERR_TYPEVAL = 3 | |
15 XML_RELAXNG_ERR_DUPID = 4 | |
16 XML_RELAXNG_ERR_TYPECMP = 5 | |
17 XML_RELAXNG_ERR_NOSTATE = 6 | |
18 XML_RELAXNG_ERR_NODEFINE = 7 | |
19 XML_RELAXNG_ERR_LISTEXTRA = 8 | |
20 XML_RELAXNG_ERR_LISTEMPTY = 9 | |
21 XML_RELAXNG_ERR_INTERNODATA = 10 | |
22 XML_RELAXNG_ERR_INTERSEQ = 11 | |
23 XML_RELAXNG_ERR_INTEREXTRA = 12 | |
24 XML_RELAXNG_ERR_ELEMNAME = 13 | |
25 XML_RELAXNG_ERR_ATTRNAME = 14 | |
26 XML_RELAXNG_ERR_ELEMNONS = 15 | |
27 XML_RELAXNG_ERR_ATTRNONS = 16 | |
28 XML_RELAXNG_ERR_ELEMWRONGNS = 17 | |
29 XML_RELAXNG_ERR_ATTRWRONGNS = 18 | |
30 XML_RELAXNG_ERR_ELEMEXTRANS = 19 | |
31 XML_RELAXNG_ERR_ATTREXTRANS = 20 | |
32 XML_RELAXNG_ERR_ELEMNOTEMPTY = 21 | |
33 XML_RELAXNG_ERR_NOELEM = 22 | |
34 XML_RELAXNG_ERR_NOTELEM = 23 | |
35 XML_RELAXNG_ERR_ATTRVALID = 24 | |
36 XML_RELAXNG_ERR_CONTENTVALID = 25 | |
37 XML_RELAXNG_ERR_EXTRACONTENT = 26 | |
38 XML_RELAXNG_ERR_INVALIDATTR = 27 | |
39 XML_RELAXNG_ERR_DATAELEM = 28 | |
40 XML_RELAXNG_ERR_VALELEM = 29 | |
41 XML_RELAXNG_ERR_LISTELEM = 30 | |
42 XML_RELAXNG_ERR_DATATYPE = 31 | |
43 XML_RELAXNG_ERR_VALUE = 32 | |
44 XML_RELAXNG_ERR_LIST = 33 | |
45 XML_RELAXNG_ERR_NOGRAMMAR = 34 | |
46 XML_RELAXNG_ERR_EXTRADATA = 35 | |
47 XML_RELAXNG_ERR_LACKDATA = 36 | |
48 XML_RELAXNG_ERR_INTERNAL = 37 | |
49 XML_RELAXNG_ERR_ELEMWRONG = 38 | |
50 XML_RELAXNG_ERR_TEXTWRONG = 39 | |
51 | |
52 cdef xmlRelaxNGValidCtxt* xmlRelaxNGNewValidCtxt(xmlRelaxNG* schema) nogil | |
53 cdef int xmlRelaxNGValidateDoc(xmlRelaxNGValidCtxt* ctxt, xmlDoc* doc) nogil | |
54 cdef xmlRelaxNG* xmlRelaxNGParse(xmlRelaxNGParserCtxt* ctxt) nogil | |
55 cdef xmlRelaxNGParserCtxt* xmlRelaxNGNewParserCtxt(char* URL) nogil | |
56 cdef xmlRelaxNGParserCtxt* xmlRelaxNGNewDocParserCtxt(xmlDoc* doc) nogil | |
57 cdef void xmlRelaxNGFree(xmlRelaxNG* schema) nogil | |
58 cdef void xmlRelaxNGFreeParserCtxt(xmlRelaxNGParserCtxt* ctxt) nogil | |
59 cdef void xmlRelaxNGFreeValidCtxt(xmlRelaxNGValidCtxt* ctxt) nogil | |
60 | |
61 cdef void xmlRelaxNGSetValidStructuredErrors( | |
62 xmlRelaxNGValidCtxt* ctxt, xmlStructuredErrorFunc serror, void *ctx) nogil | |
63 cdef void xmlRelaxNGSetParserStructuredErrors( | |
64 xmlRelaxNGParserCtxt* ctxt, xmlStructuredErrorFunc serror, void *ctx) nogil |