29 OSCAP_PCRE_OPTS_NONE = 0x0001,
30 OSCAP_PCRE_OPTS_UTF8 = 0x0002,
31 OSCAP_PCRE_OPTS_MULTILINE = 0x0004,
32 OSCAP_PCRE_OPTS_DOTALL = 0x0008,
33 OSCAP_PCRE_OPTS_CASELESS = 0x0010,
34 OSCAP_PCRE_OPTS_NO_UTF8_CHECK = 0x0020,
35 OSCAP_PCRE_OPTS_PARTIAL = 0x0040,
36} oscap_pcre_options_t;
39 OSCAP_PCRE_ERR_NOMATCH = -1,
40 OSCAP_PCRE_ERR_PARTIAL = -2,
41 OSCAP_PCRE_ERR_BADPARTIAL = -3,
42 OSCAP_PCRE_ERR_BADUTF8 = -10,
43 OSCAP_PCRE_ERR_RECURSIONLIMIT = -21,
44 OSCAP_PCRE_ERR_UNKNOWN = -100,
59oscap_pcre_t* oscap_pcre_compile(
const char *pattern, oscap_pcre_options_t options,
60 char **errptr,
int *erroffset);
75int oscap_pcre_exec(
const oscap_pcre_t *opcre,
const char *subject,
76 int length,
int startoffset, oscap_pcre_options_t options,
77 int *ovector,
int ovecsize);
91void oscap_pcre_set_match_limit_recursion(
oscap_pcre_t *opcre,
unsigned long limit);
104int oscap_pcre_get_substrings(
char *str,
int *ofs,
oscap_pcre_t *re,
int want_substrs,
char ***substrings);
110void oscap_pcre_err_free(
char *err);
Definition oscap_pcre.c:40