File: regexp.h

package info (click to toggle)
libxml2 2.15.2%2Bdfsg-0.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 31,036 kB
  • sloc: xml: 305,167; ansic: 138,598; python: 6,692; javascript: 5,897; sh: 4,736; makefile: 1,308
file content (26 lines) | stat: -rw-r--r-- 643 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef XML_REGEXP_H_PRIVATE__
#define XML_REGEXP_H_PRIVATE__

#include <libxml/xmlautomata.h>

#ifdef LIBXML_REGEXP_ENABLED

/*
 * -2 and -3 are used by xmlValidateElementType for other things.
 */
#define XML_REGEXP_OK               0
#define XML_REGEXP_NOT_FOUND        (-1)
#define XML_REGEXP_INTERNAL_ERROR   (-4)
#define XML_REGEXP_OUT_OF_MEMORY    (-5)
#define XML_REGEXP_INTERNAL_LIMIT   (-6)
#define XML_REGEXP_INVALID_UTF8     (-7)

XML_HIDDEN void
xmlAutomataSetFlags(xmlAutomata *am, int flags);

XML_HIDDEN void
xmlRegExecClearErrors(xmlRegExecCtxt* exec);

#endif /* LIBXML_REGEXP_ENABLED */

#endif /* XML_REGEXP_H_PRIVATE__ */