Debian Codegraph @

include/private/regexp.h

raw
1 #ifndef XML_REGEXP_H_PRIVATE__
2 #define XML_REGEXP_H_PRIVATE__
3
4 #include <libxml/xmlautomata.h>
5
6 #ifdef LIBXML_REGEXP_ENABLED
7
8 /*
9 * -2 and -3 are used by xmlValidateElementType for other things.
10 */
11 #define XML_REGEXP_OK 0
12 #define XML_REGEXP_NOT_FOUND (-1)
13 #define XML_REGEXP_INTERNAL_ERROR (-4)
14 #define XML_REGEXP_OUT_OF_MEMORY (-5)
15 #define XML_REGEXP_INTERNAL_LIMIT (-6)
16 #define XML_REGEXP_INVALID_UTF8 (-7)
17
18 XML_HIDDEN void
19 xmlAutomataSetFlags(xmlAutomata *am, int flags);
20
21 XML_HIDDEN void
22 xmlRegExecClearErrors(xmlRegExecCtxt* exec);
23
24 #endif /* LIBXML_REGEXP_ENABLED */
25
26 #endif /* XML_REGEXP_H_PRIVATE__ */