pcre2_sys/
bindings.rs

1/* automatically generated by rust-bindgen 0.72.1 */
2
3pub const PCRE2_MAJOR: u32 = 10;
4pub const PCRE2_MINOR: u32 = 45;
5pub const PCRE2_DATE: u32 = 2018;
6pub const PCRE2_ANCHORED: u32 = 2147483648;
7pub const PCRE2_NO_UTF_CHECK: u32 = 1073741824;
8pub const PCRE2_ENDANCHORED: u32 = 536870912;
9pub const PCRE2_ALLOW_EMPTY_CLASS: u32 = 1;
10pub const PCRE2_ALT_BSUX: u32 = 2;
11pub const PCRE2_AUTO_CALLOUT: u32 = 4;
12pub const PCRE2_CASELESS: u32 = 8;
13pub const PCRE2_DOLLAR_ENDONLY: u32 = 16;
14pub const PCRE2_DOTALL: u32 = 32;
15pub const PCRE2_DUPNAMES: u32 = 64;
16pub const PCRE2_EXTENDED: u32 = 128;
17pub const PCRE2_FIRSTLINE: u32 = 256;
18pub const PCRE2_MATCH_UNSET_BACKREF: u32 = 512;
19pub const PCRE2_MULTILINE: u32 = 1024;
20pub const PCRE2_NEVER_UCP: u32 = 2048;
21pub const PCRE2_NEVER_UTF: u32 = 4096;
22pub const PCRE2_NO_AUTO_CAPTURE: u32 = 8192;
23pub const PCRE2_NO_AUTO_POSSESS: u32 = 16384;
24pub const PCRE2_NO_DOTSTAR_ANCHOR: u32 = 32768;
25pub const PCRE2_NO_START_OPTIMIZE: u32 = 65536;
26pub const PCRE2_UCP: u32 = 131072;
27pub const PCRE2_UNGREEDY: u32 = 262144;
28pub const PCRE2_UTF: u32 = 524288;
29pub const PCRE2_NEVER_BACKSLASH_C: u32 = 1048576;
30pub const PCRE2_ALT_CIRCUMFLEX: u32 = 2097152;
31pub const PCRE2_ALT_VERBNAMES: u32 = 4194304;
32pub const PCRE2_USE_OFFSET_LIMIT: u32 = 8388608;
33pub const PCRE2_EXTENDED_MORE: u32 = 16777216;
34pub const PCRE2_LITERAL: u32 = 33554432;
35pub const PCRE2_MATCH_INVALID_UTF: u32 = 67108864;
36pub const PCRE2_ALT_EXTENDED_CLASS: u32 = 134217728;
37pub const PCRE2_EXTRA_ALLOW_SURROGATE_ESCAPES: u32 = 1;
38pub const PCRE2_EXTRA_BAD_ESCAPE_IS_LITERAL: u32 = 2;
39pub const PCRE2_EXTRA_MATCH_WORD: u32 = 4;
40pub const PCRE2_EXTRA_MATCH_LINE: u32 = 8;
41pub const PCRE2_EXTRA_ESCAPED_CR_IS_LF: u32 = 16;
42pub const PCRE2_EXTRA_ALT_BSUX: u32 = 32;
43pub const PCRE2_EXTRA_ALLOW_LOOKAROUND_BSK: u32 = 64;
44pub const PCRE2_EXTRA_CASELESS_RESTRICT: u32 = 128;
45pub const PCRE2_EXTRA_ASCII_BSD: u32 = 256;
46pub const PCRE2_EXTRA_ASCII_BSS: u32 = 512;
47pub const PCRE2_EXTRA_ASCII_BSW: u32 = 1024;
48pub const PCRE2_EXTRA_ASCII_POSIX: u32 = 2048;
49pub const PCRE2_EXTRA_ASCII_DIGIT: u32 = 4096;
50pub const PCRE2_EXTRA_PYTHON_OCTAL: u32 = 8192;
51pub const PCRE2_EXTRA_NO_BS0: u32 = 16384;
52pub const PCRE2_EXTRA_NEVER_CALLOUT: u32 = 32768;
53pub const PCRE2_EXTRA_TURKISH_CASING: u32 = 65536;
54pub const PCRE2_JIT_COMPLETE: u32 = 1;
55pub const PCRE2_JIT_PARTIAL_SOFT: u32 = 2;
56pub const PCRE2_JIT_PARTIAL_HARD: u32 = 4;
57pub const PCRE2_JIT_INVALID_UTF: u32 = 256;
58pub const PCRE2_JIT_TEST_ALLOC: u32 = 512;
59pub const PCRE2_NOTBOL: u32 = 1;
60pub const PCRE2_NOTEOL: u32 = 2;
61pub const PCRE2_NOTEMPTY: u32 = 4;
62pub const PCRE2_NOTEMPTY_ATSTART: u32 = 8;
63pub const PCRE2_PARTIAL_SOFT: u32 = 16;
64pub const PCRE2_PARTIAL_HARD: u32 = 32;
65pub const PCRE2_DFA_RESTART: u32 = 64;
66pub const PCRE2_DFA_SHORTEST: u32 = 128;
67pub const PCRE2_SUBSTITUTE_GLOBAL: u32 = 256;
68pub const PCRE2_SUBSTITUTE_EXTENDED: u32 = 512;
69pub const PCRE2_SUBSTITUTE_UNSET_EMPTY: u32 = 1024;
70pub const PCRE2_SUBSTITUTE_UNKNOWN_UNSET: u32 = 2048;
71pub const PCRE2_SUBSTITUTE_OVERFLOW_LENGTH: u32 = 4096;
72pub const PCRE2_NO_JIT: u32 = 8192;
73pub const PCRE2_COPY_MATCHED_SUBJECT: u32 = 16384;
74pub const PCRE2_SUBSTITUTE_LITERAL: u32 = 32768;
75pub const PCRE2_SUBSTITUTE_MATCHED: u32 = 65536;
76pub const PCRE2_SUBSTITUTE_REPLACEMENT_ONLY: u32 = 131072;
77pub const PCRE2_DISABLE_RECURSELOOP_CHECK: u32 = 262144;
78pub const PCRE2_CONVERT_UTF: u32 = 1;
79pub const PCRE2_CONVERT_NO_UTF_CHECK: u32 = 2;
80pub const PCRE2_CONVERT_POSIX_BASIC: u32 = 4;
81pub const PCRE2_CONVERT_POSIX_EXTENDED: u32 = 8;
82pub const PCRE2_CONVERT_GLOB: u32 = 16;
83pub const PCRE2_CONVERT_GLOB_NO_WILD_SEPARATOR: u32 = 48;
84pub const PCRE2_CONVERT_GLOB_NO_STARSTAR: u32 = 80;
85pub const PCRE2_NEWLINE_CR: u32 = 1;
86pub const PCRE2_NEWLINE_LF: u32 = 2;
87pub const PCRE2_NEWLINE_CRLF: u32 = 3;
88pub const PCRE2_NEWLINE_ANY: u32 = 4;
89pub const PCRE2_NEWLINE_ANYCRLF: u32 = 5;
90pub const PCRE2_NEWLINE_NUL: u32 = 6;
91pub const PCRE2_BSR_UNICODE: u32 = 1;
92pub const PCRE2_BSR_ANYCRLF: u32 = 2;
93pub const PCRE2_ERROR_END_BACKSLASH: u32 = 101;
94pub const PCRE2_ERROR_END_BACKSLASH_C: u32 = 102;
95pub const PCRE2_ERROR_UNKNOWN_ESCAPE: u32 = 103;
96pub const PCRE2_ERROR_QUANTIFIER_OUT_OF_ORDER: u32 = 104;
97pub const PCRE2_ERROR_QUANTIFIER_TOO_BIG: u32 = 105;
98pub const PCRE2_ERROR_MISSING_SQUARE_BRACKET: u32 = 106;
99pub const PCRE2_ERROR_ESCAPE_INVALID_IN_CLASS: u32 = 107;
100pub const PCRE2_ERROR_CLASS_RANGE_ORDER: u32 = 108;
101pub const PCRE2_ERROR_QUANTIFIER_INVALID: u32 = 109;
102pub const PCRE2_ERROR_INTERNAL_UNEXPECTED_REPEAT: u32 = 110;
103pub const PCRE2_ERROR_INVALID_AFTER_PARENS_QUERY: u32 = 111;
104pub const PCRE2_ERROR_POSIX_CLASS_NOT_IN_CLASS: u32 = 112;
105pub const PCRE2_ERROR_POSIX_NO_SUPPORT_COLLATING: u32 = 113;
106pub const PCRE2_ERROR_MISSING_CLOSING_PARENTHESIS: u32 = 114;
107pub const PCRE2_ERROR_BAD_SUBPATTERN_REFERENCE: u32 = 115;
108pub const PCRE2_ERROR_NULL_PATTERN: u32 = 116;
109pub const PCRE2_ERROR_BAD_OPTIONS: u32 = 117;
110pub const PCRE2_ERROR_MISSING_COMMENT_CLOSING: u32 = 118;
111pub const PCRE2_ERROR_PARENTHESES_NEST_TOO_DEEP: u32 = 119;
112pub const PCRE2_ERROR_PATTERN_TOO_LARGE: u32 = 120;
113pub const PCRE2_ERROR_HEAP_FAILED: u32 = 121;
114pub const PCRE2_ERROR_UNMATCHED_CLOSING_PARENTHESIS: u32 = 122;
115pub const PCRE2_ERROR_INTERNAL_CODE_OVERFLOW: u32 = 123;
116pub const PCRE2_ERROR_MISSING_CONDITION_CLOSING: u32 = 124;
117pub const PCRE2_ERROR_LOOKBEHIND_NOT_FIXED_LENGTH: u32 = 125;
118pub const PCRE2_ERROR_ZERO_RELATIVE_REFERENCE: u32 = 126;
119pub const PCRE2_ERROR_TOO_MANY_CONDITION_BRANCHES: u32 = 127;
120pub const PCRE2_ERROR_CONDITION_ASSERTION_EXPECTED: u32 = 128;
121pub const PCRE2_ERROR_BAD_RELATIVE_REFERENCE: u32 = 129;
122pub const PCRE2_ERROR_UNKNOWN_POSIX_CLASS: u32 = 130;
123pub const PCRE2_ERROR_INTERNAL_STUDY_ERROR: u32 = 131;
124pub const PCRE2_ERROR_UNICODE_NOT_SUPPORTED: u32 = 132;
125pub const PCRE2_ERROR_PARENTHESES_STACK_CHECK: u32 = 133;
126pub const PCRE2_ERROR_CODE_POINT_TOO_BIG: u32 = 134;
127pub const PCRE2_ERROR_LOOKBEHIND_TOO_COMPLICATED: u32 = 135;
128pub const PCRE2_ERROR_LOOKBEHIND_INVALID_BACKSLASH_C: u32 = 136;
129pub const PCRE2_ERROR_UNSUPPORTED_ESCAPE_SEQUENCE: u32 = 137;
130pub const PCRE2_ERROR_CALLOUT_NUMBER_TOO_BIG: u32 = 138;
131pub const PCRE2_ERROR_MISSING_CALLOUT_CLOSING: u32 = 139;
132pub const PCRE2_ERROR_ESCAPE_INVALID_IN_VERB: u32 = 140;
133pub const PCRE2_ERROR_UNRECOGNIZED_AFTER_QUERY_P: u32 = 141;
134pub const PCRE2_ERROR_MISSING_NAME_TERMINATOR: u32 = 142;
135pub const PCRE2_ERROR_DUPLICATE_SUBPATTERN_NAME: u32 = 143;
136pub const PCRE2_ERROR_INVALID_SUBPATTERN_NAME: u32 = 144;
137pub const PCRE2_ERROR_UNICODE_PROPERTIES_UNAVAILABLE: u32 = 145;
138pub const PCRE2_ERROR_MALFORMED_UNICODE_PROPERTY: u32 = 146;
139pub const PCRE2_ERROR_UNKNOWN_UNICODE_PROPERTY: u32 = 147;
140pub const PCRE2_ERROR_SUBPATTERN_NAME_TOO_LONG: u32 = 148;
141pub const PCRE2_ERROR_TOO_MANY_NAMED_SUBPATTERNS: u32 = 149;
142pub const PCRE2_ERROR_CLASS_INVALID_RANGE: u32 = 150;
143pub const PCRE2_ERROR_OCTAL_BYTE_TOO_BIG: u32 = 151;
144pub const PCRE2_ERROR_INTERNAL_OVERRAN_WORKSPACE: u32 = 152;
145pub const PCRE2_ERROR_INTERNAL_MISSING_SUBPATTERN: u32 = 153;
146pub const PCRE2_ERROR_DEFINE_TOO_MANY_BRANCHES: u32 = 154;
147pub const PCRE2_ERROR_BACKSLASH_O_MISSING_BRACE: u32 = 155;
148pub const PCRE2_ERROR_INTERNAL_UNKNOWN_NEWLINE: u32 = 156;
149pub const PCRE2_ERROR_BACKSLASH_G_SYNTAX: u32 = 157;
150pub const PCRE2_ERROR_PARENS_QUERY_R_MISSING_CLOSING: u32 = 158;
151pub const PCRE2_ERROR_VERB_ARGUMENT_NOT_ALLOWED: u32 = 159;
152pub const PCRE2_ERROR_VERB_UNKNOWN: u32 = 160;
153pub const PCRE2_ERROR_SUBPATTERN_NUMBER_TOO_BIG: u32 = 161;
154pub const PCRE2_ERROR_SUBPATTERN_NAME_EXPECTED: u32 = 162;
155pub const PCRE2_ERROR_INTERNAL_PARSED_OVERFLOW: u32 = 163;
156pub const PCRE2_ERROR_INVALID_OCTAL: u32 = 164;
157pub const PCRE2_ERROR_SUBPATTERN_NAMES_MISMATCH: u32 = 165;
158pub const PCRE2_ERROR_MARK_MISSING_ARGUMENT: u32 = 166;
159pub const PCRE2_ERROR_INVALID_HEXADECIMAL: u32 = 167;
160pub const PCRE2_ERROR_BACKSLASH_C_SYNTAX: u32 = 168;
161pub const PCRE2_ERROR_BACKSLASH_K_SYNTAX: u32 = 169;
162pub const PCRE2_ERROR_INTERNAL_BAD_CODE_LOOKBEHINDS: u32 = 170;
163pub const PCRE2_ERROR_BACKSLASH_N_IN_CLASS: u32 = 171;
164pub const PCRE2_ERROR_CALLOUT_STRING_TOO_LONG: u32 = 172;
165pub const PCRE2_ERROR_UNICODE_DISALLOWED_CODE_POINT: u32 = 173;
166pub const PCRE2_ERROR_UTF_IS_DISABLED: u32 = 174;
167pub const PCRE2_ERROR_UCP_IS_DISABLED: u32 = 175;
168pub const PCRE2_ERROR_VERB_NAME_TOO_LONG: u32 = 176;
169pub const PCRE2_ERROR_BACKSLASH_U_CODE_POINT_TOO_BIG: u32 = 177;
170pub const PCRE2_ERROR_MISSING_OCTAL_OR_HEX_DIGITS: u32 = 178;
171pub const PCRE2_ERROR_VERSION_CONDITION_SYNTAX: u32 = 179;
172pub const PCRE2_ERROR_INTERNAL_BAD_CODE_AUTO_POSSESS: u32 = 180;
173pub const PCRE2_ERROR_CALLOUT_NO_STRING_DELIMITER: u32 = 181;
174pub const PCRE2_ERROR_CALLOUT_BAD_STRING_DELIMITER: u32 = 182;
175pub const PCRE2_ERROR_BACKSLASH_C_CALLER_DISABLED: u32 = 183;
176pub const PCRE2_ERROR_QUERY_BARJX_NEST_TOO_DEEP: u32 = 184;
177pub const PCRE2_ERROR_BACKSLASH_C_LIBRARY_DISABLED: u32 = 185;
178pub const PCRE2_ERROR_PATTERN_TOO_COMPLICATED: u32 = 186;
179pub const PCRE2_ERROR_LOOKBEHIND_TOO_LONG: u32 = 187;
180pub const PCRE2_ERROR_PATTERN_STRING_TOO_LONG: u32 = 188;
181pub const PCRE2_ERROR_INTERNAL_BAD_CODE: u32 = 189;
182pub const PCRE2_ERROR_INTERNAL_BAD_CODE_IN_SKIP: u32 = 190;
183pub const PCRE2_ERROR_NO_SURROGATES_IN_UTF16: u32 = 191;
184pub const PCRE2_ERROR_BAD_LITERAL_OPTIONS: u32 = 192;
185pub const PCRE2_ERROR_SUPPORTED_ONLY_IN_UNICODE: u32 = 193;
186pub const PCRE2_ERROR_INVALID_HYPHEN_IN_OPTIONS: u32 = 194;
187pub const PCRE2_ERROR_ALPHA_ASSERTION_UNKNOWN: u32 = 195;
188pub const PCRE2_ERROR_SCRIPT_RUN_NOT_AVAILABLE: u32 = 196;
189pub const PCRE2_ERROR_TOO_MANY_CAPTURES: u32 = 197;
190pub const PCRE2_ERROR_MISSING_OCTAL_DIGIT: u32 = 198;
191pub const PCRE2_ERROR_BACKSLASH_K_IN_LOOKAROUND: u32 = 199;
192pub const PCRE2_ERROR_MAX_VAR_LOOKBEHIND_EXCEEDED: u32 = 200;
193pub const PCRE2_ERROR_PATTERN_COMPILED_SIZE_TOO_BIG: u32 = 201;
194pub const PCRE2_ERROR_OVERSIZE_PYTHON_OCTAL: u32 = 202;
195pub const PCRE2_ERROR_CALLOUT_CALLER_DISABLED: u32 = 203;
196pub const PCRE2_ERROR_EXTRA_CASING_REQUIRES_UNICODE: u32 = 204;
197pub const PCRE2_ERROR_TURKISH_CASING_REQUIRES_UTF: u32 = 205;
198pub const PCRE2_ERROR_EXTRA_CASING_INCOMPATIBLE: u32 = 206;
199pub const PCRE2_ERROR_ECLASS_NEST_TOO_DEEP: u32 = 207;
200pub const PCRE2_ERROR_ECLASS_INVALID_OPERATOR: u32 = 208;
201pub const PCRE2_ERROR_ECLASS_UNEXPECTED_OPERATOR: u32 = 209;
202pub const PCRE2_ERROR_ECLASS_EXPECTED_OPERAND: u32 = 210;
203pub const PCRE2_ERROR_ECLASS_MIXED_OPERATORS: u32 = 211;
204pub const PCRE2_ERROR_ECLASS_HINT_SQUARE_BRACKET: u32 = 212;
205pub const PCRE2_ERROR_PERL_ECLASS_UNEXPECTED_EXPR: u32 = 213;
206pub const PCRE2_ERROR_PERL_ECLASS_EMPTY_EXPR: u32 = 214;
207pub const PCRE2_ERROR_PERL_ECLASS_MISSING_CLOSE: u32 = 215;
208pub const PCRE2_ERROR_PERL_ECLASS_UNEXPECTED_CHAR: u32 = 216;
209pub const PCRE2_ERROR_NOMATCH: i32 = -1;
210pub const PCRE2_ERROR_PARTIAL: i32 = -2;
211pub const PCRE2_ERROR_UTF8_ERR1: i32 = -3;
212pub const PCRE2_ERROR_UTF8_ERR2: i32 = -4;
213pub const PCRE2_ERROR_UTF8_ERR3: i32 = -5;
214pub const PCRE2_ERROR_UTF8_ERR4: i32 = -6;
215pub const PCRE2_ERROR_UTF8_ERR5: i32 = -7;
216pub const PCRE2_ERROR_UTF8_ERR6: i32 = -8;
217pub const PCRE2_ERROR_UTF8_ERR7: i32 = -9;
218pub const PCRE2_ERROR_UTF8_ERR8: i32 = -10;
219pub const PCRE2_ERROR_UTF8_ERR9: i32 = -11;
220pub const PCRE2_ERROR_UTF8_ERR10: i32 = -12;
221pub const PCRE2_ERROR_UTF8_ERR11: i32 = -13;
222pub const PCRE2_ERROR_UTF8_ERR12: i32 = -14;
223pub const PCRE2_ERROR_UTF8_ERR13: i32 = -15;
224pub const PCRE2_ERROR_UTF8_ERR14: i32 = -16;
225pub const PCRE2_ERROR_UTF8_ERR15: i32 = -17;
226pub const PCRE2_ERROR_UTF8_ERR16: i32 = -18;
227pub const PCRE2_ERROR_UTF8_ERR17: i32 = -19;
228pub const PCRE2_ERROR_UTF8_ERR18: i32 = -20;
229pub const PCRE2_ERROR_UTF8_ERR19: i32 = -21;
230pub const PCRE2_ERROR_UTF8_ERR20: i32 = -22;
231pub const PCRE2_ERROR_UTF8_ERR21: i32 = -23;
232pub const PCRE2_ERROR_UTF16_ERR1: i32 = -24;
233pub const PCRE2_ERROR_UTF16_ERR2: i32 = -25;
234pub const PCRE2_ERROR_UTF16_ERR3: i32 = -26;
235pub const PCRE2_ERROR_UTF32_ERR1: i32 = -27;
236pub const PCRE2_ERROR_UTF32_ERR2: i32 = -28;
237pub const PCRE2_ERROR_BADDATA: i32 = -29;
238pub const PCRE2_ERROR_MIXEDTABLES: i32 = -30;
239pub const PCRE2_ERROR_BADMAGIC: i32 = -31;
240pub const PCRE2_ERROR_BADMODE: i32 = -32;
241pub const PCRE2_ERROR_BADOFFSET: i32 = -33;
242pub const PCRE2_ERROR_BADOPTION: i32 = -34;
243pub const PCRE2_ERROR_BADREPLACEMENT: i32 = -35;
244pub const PCRE2_ERROR_BADUTFOFFSET: i32 = -36;
245pub const PCRE2_ERROR_CALLOUT: i32 = -37;
246pub const PCRE2_ERROR_DFA_BADRESTART: i32 = -38;
247pub const PCRE2_ERROR_DFA_RECURSE: i32 = -39;
248pub const PCRE2_ERROR_DFA_UCOND: i32 = -40;
249pub const PCRE2_ERROR_DFA_UFUNC: i32 = -41;
250pub const PCRE2_ERROR_DFA_UITEM: i32 = -42;
251pub const PCRE2_ERROR_DFA_WSSIZE: i32 = -43;
252pub const PCRE2_ERROR_INTERNAL: i32 = -44;
253pub const PCRE2_ERROR_JIT_BADOPTION: i32 = -45;
254pub const PCRE2_ERROR_JIT_STACKLIMIT: i32 = -46;
255pub const PCRE2_ERROR_MATCHLIMIT: i32 = -47;
256pub const PCRE2_ERROR_NOMEMORY: i32 = -48;
257pub const PCRE2_ERROR_NOSUBSTRING: i32 = -49;
258pub const PCRE2_ERROR_NOUNIQUESUBSTRING: i32 = -50;
259pub const PCRE2_ERROR_NULL: i32 = -51;
260pub const PCRE2_ERROR_RECURSELOOP: i32 = -52;
261pub const PCRE2_ERROR_DEPTHLIMIT: i32 = -53;
262pub const PCRE2_ERROR_RECURSIONLIMIT: i32 = -53;
263pub const PCRE2_ERROR_UNAVAILABLE: i32 = -54;
264pub const PCRE2_ERROR_UNSET: i32 = -55;
265pub const PCRE2_ERROR_BADOFFSETLIMIT: i32 = -56;
266pub const PCRE2_ERROR_BADREPESCAPE: i32 = -57;
267pub const PCRE2_ERROR_REPMISSINGBRACE: i32 = -58;
268pub const PCRE2_ERROR_BADSUBSTITUTION: i32 = -59;
269pub const PCRE2_ERROR_BADSUBSPATTERN: i32 = -60;
270pub const PCRE2_ERROR_TOOMANYREPLACE: i32 = -61;
271pub const PCRE2_ERROR_BADSERIALIZEDDATA: i32 = -62;
272pub const PCRE2_ERROR_HEAPLIMIT: i32 = -63;
273pub const PCRE2_ERROR_CONVERT_SYNTAX: i32 = -64;
274pub const PCRE2_ERROR_INTERNAL_DUPMATCH: i32 = -65;
275pub const PCRE2_ERROR_DFA_UINVALID_UTF: i32 = -66;
276pub const PCRE2_ERROR_INVALIDOFFSET: i32 = -67;
277pub const PCRE2_ERROR_JIT_UNSUPPORTED: i32 = -68;
278pub const PCRE2_ERROR_REPLACECASE: i32 = -69;
279pub const PCRE2_ERROR_TOOLARGEREPLACE: i32 = -70;
280pub const PCRE2_INFO_ALLOPTIONS: u32 = 0;
281pub const PCRE2_INFO_ARGOPTIONS: u32 = 1;
282pub const PCRE2_INFO_BACKREFMAX: u32 = 2;
283pub const PCRE2_INFO_BSR: u32 = 3;
284pub const PCRE2_INFO_CAPTURECOUNT: u32 = 4;
285pub const PCRE2_INFO_FIRSTCODEUNIT: u32 = 5;
286pub const PCRE2_INFO_FIRSTCODETYPE: u32 = 6;
287pub const PCRE2_INFO_FIRSTBITMAP: u32 = 7;
288pub const PCRE2_INFO_HASCRORLF: u32 = 8;
289pub const PCRE2_INFO_JCHANGED: u32 = 9;
290pub const PCRE2_INFO_JITSIZE: u32 = 10;
291pub const PCRE2_INFO_LASTCODEUNIT: u32 = 11;
292pub const PCRE2_INFO_LASTCODETYPE: u32 = 12;
293pub const PCRE2_INFO_MATCHEMPTY: u32 = 13;
294pub const PCRE2_INFO_MATCHLIMIT: u32 = 14;
295pub const PCRE2_INFO_MAXLOOKBEHIND: u32 = 15;
296pub const PCRE2_INFO_MINLENGTH: u32 = 16;
297pub const PCRE2_INFO_NAMECOUNT: u32 = 17;
298pub const PCRE2_INFO_NAMEENTRYSIZE: u32 = 18;
299pub const PCRE2_INFO_NAMETABLE: u32 = 19;
300pub const PCRE2_INFO_NEWLINE: u32 = 20;
301pub const PCRE2_INFO_DEPTHLIMIT: u32 = 21;
302pub const PCRE2_INFO_RECURSIONLIMIT: u32 = 21;
303pub const PCRE2_INFO_SIZE: u32 = 22;
304pub const PCRE2_INFO_HASBACKSLASHC: u32 = 23;
305pub const PCRE2_INFO_FRAMESIZE: u32 = 24;
306pub const PCRE2_INFO_HEAPLIMIT: u32 = 25;
307pub const PCRE2_INFO_EXTRAOPTIONS: u32 = 26;
308pub const PCRE2_CONFIG_BSR: u32 = 0;
309pub const PCRE2_CONFIG_JIT: u32 = 1;
310pub const PCRE2_CONFIG_JITTARGET: u32 = 2;
311pub const PCRE2_CONFIG_LINKSIZE: u32 = 3;
312pub const PCRE2_CONFIG_MATCHLIMIT: u32 = 4;
313pub const PCRE2_CONFIG_NEWLINE: u32 = 5;
314pub const PCRE2_CONFIG_PARENSLIMIT: u32 = 6;
315pub const PCRE2_CONFIG_DEPTHLIMIT: u32 = 7;
316pub const PCRE2_CONFIG_RECURSIONLIMIT: u32 = 7;
317pub const PCRE2_CONFIG_STACKRECURSE: u32 = 8;
318pub const PCRE2_CONFIG_UNICODE: u32 = 9;
319pub const PCRE2_CONFIG_UNICODE_VERSION: u32 = 10;
320pub const PCRE2_CONFIG_VERSION: u32 = 11;
321pub const PCRE2_CONFIG_HEAPLIMIT: u32 = 12;
322pub const PCRE2_CONFIG_NEVER_BACKSLASH_C: u32 = 13;
323pub const PCRE2_CONFIG_COMPILED_WIDTHS: u32 = 14;
324pub const PCRE2_CONFIG_TABLES_LENGTH: u32 = 15;
325pub const PCRE2_OPTIMIZATION_NONE: u32 = 0;
326pub const PCRE2_OPTIMIZATION_FULL: u32 = 1;
327pub const PCRE2_AUTO_POSSESS: u32 = 64;
328pub const PCRE2_AUTO_POSSESS_OFF: u32 = 65;
329pub const PCRE2_DOTSTAR_ANCHOR: u32 = 66;
330pub const PCRE2_DOTSTAR_ANCHOR_OFF: u32 = 67;
331pub const PCRE2_START_OPTIMIZE: u32 = 68;
332pub const PCRE2_START_OPTIMIZE_OFF: u32 = 69;
333pub const PCRE2_SUBSTITUTE_CASE_LOWER: u32 = 1;
334pub const PCRE2_SUBSTITUTE_CASE_UPPER: u32 = 2;
335pub const PCRE2_SUBSTITUTE_CASE_TITLE_FIRST: u32 = 3;
336pub const PCRE2_SIZE_MAX: i32 = -1;
337pub const PCRE2_CALLOUT_STARTMATCH: u32 = 1;
338pub const PCRE2_CALLOUT_BACKTRACK: u32 = 2;
339pub const PCRE2_LOCAL_WIDTH: u32 = 8;
340pub type PCRE2_UCHAR8 = u8;
341pub type PCRE2_UCHAR16 = u16;
342pub type PCRE2_UCHAR32 = u32;
343pub type PCRE2_SPTR8 = *const PCRE2_UCHAR8;
344pub type PCRE2_SPTR16 = *const PCRE2_UCHAR16;
345pub type PCRE2_SPTR32 = *const PCRE2_UCHAR32;
346#[repr(C)]
347#[derive(Debug, Copy, Clone)]
348pub struct pcre2_real_general_context_8 {
349    _unused: [u8; 0],
350}
351pub type pcre2_general_context_8 = pcre2_real_general_context_8;
352#[repr(C)]
353#[derive(Debug, Copy, Clone)]
354pub struct pcre2_real_compile_context_8 {
355    _unused: [u8; 0],
356}
357pub type pcre2_compile_context_8 = pcre2_real_compile_context_8;
358#[repr(C)]
359#[derive(Debug, Copy, Clone)]
360pub struct pcre2_real_match_context_8 {
361    _unused: [u8; 0],
362}
363pub type pcre2_match_context_8 = pcre2_real_match_context_8;
364#[repr(C)]
365#[derive(Debug, Copy, Clone)]
366pub struct pcre2_real_convert_context_8 {
367    _unused: [u8; 0],
368}
369pub type pcre2_convert_context_8 = pcre2_real_convert_context_8;
370#[repr(C)]
371#[derive(Debug, Copy, Clone)]
372pub struct pcre2_real_code_8 {
373    _unused: [u8; 0],
374}
375pub type pcre2_code_8 = pcre2_real_code_8;
376#[repr(C)]
377#[derive(Debug, Copy, Clone)]
378pub struct pcre2_real_match_data_8 {
379    _unused: [u8; 0],
380}
381pub type pcre2_match_data_8 = pcre2_real_match_data_8;
382#[repr(C)]
383#[derive(Debug, Copy, Clone)]
384pub struct pcre2_real_jit_stack_8 {
385    _unused: [u8; 0],
386}
387pub type pcre2_jit_stack_8 = pcre2_real_jit_stack_8;
388pub type pcre2_jit_callback_8 = ::std::option::Option<
389    unsafe extern "C" fn(arg1: *mut ::libc::c_void) -> *mut pcre2_jit_stack_8,
390>;
391unsafe extern "C" {
392    pub fn pcre2_config_8(
393        arg1: u32,
394        arg2: *mut ::libc::c_void,
395    ) -> ::libc::c_int;
396}
397unsafe extern "C" {
398    pub fn pcre2_general_context_copy_8(
399        arg1: *mut pcre2_general_context_8,
400    ) -> *mut pcre2_general_context_8;
401}
402unsafe extern "C" {
403    pub fn pcre2_general_context_create_8(
404        arg1: ::std::option::Option<
405            unsafe extern "C" fn(
406                arg1: usize,
407                arg2: *mut ::libc::c_void,
408            ) -> *mut ::libc::c_void,
409        >,
410        arg2: ::std::option::Option<
411            unsafe extern "C" fn(
412                arg1: *mut ::libc::c_void,
413                arg2: *mut ::libc::c_void,
414            ),
415        >,
416        arg3: *mut ::libc::c_void,
417    ) -> *mut pcre2_general_context_8;
418}
419unsafe extern "C" {
420    pub fn pcre2_general_context_free_8(arg1: *mut pcre2_general_context_8);
421}
422unsafe extern "C" {
423    pub fn pcre2_compile_context_copy_8(
424        arg1: *mut pcre2_compile_context_8,
425    ) -> *mut pcre2_compile_context_8;
426}
427unsafe extern "C" {
428    pub fn pcre2_compile_context_create_8(
429        arg1: *mut pcre2_general_context_8,
430    ) -> *mut pcre2_compile_context_8;
431}
432unsafe extern "C" {
433    pub fn pcre2_compile_context_free_8(arg1: *mut pcre2_compile_context_8);
434}
435unsafe extern "C" {
436    pub fn pcre2_set_bsr_8(
437        arg1: *mut pcre2_compile_context_8,
438        arg2: u32,
439    ) -> ::libc::c_int;
440}
441unsafe extern "C" {
442    pub fn pcre2_set_character_tables_8(
443        arg1: *mut pcre2_compile_context_8,
444        arg2: *const u8,
445    ) -> ::libc::c_int;
446}
447unsafe extern "C" {
448    pub fn pcre2_set_compile_extra_options_8(
449        arg1: *mut pcre2_compile_context_8,
450        arg2: u32,
451    ) -> ::libc::c_int;
452}
453unsafe extern "C" {
454    pub fn pcre2_set_max_pattern_length_8(
455        arg1: *mut pcre2_compile_context_8,
456        arg2: usize,
457    ) -> ::libc::c_int;
458}
459unsafe extern "C" {
460    pub fn pcre2_set_max_pattern_compiled_length_8(
461        arg1: *mut pcre2_compile_context_8,
462        arg2: usize,
463    ) -> ::libc::c_int;
464}
465unsafe extern "C" {
466    pub fn pcre2_set_max_varlookbehind_8(
467        arg1: *mut pcre2_compile_context_8,
468        arg2: u32,
469    ) -> ::libc::c_int;
470}
471unsafe extern "C" {
472    pub fn pcre2_set_newline_8(
473        arg1: *mut pcre2_compile_context_8,
474        arg2: u32,
475    ) -> ::libc::c_int;
476}
477unsafe extern "C" {
478    pub fn pcre2_set_parens_nest_limit_8(
479        arg1: *mut pcre2_compile_context_8,
480        arg2: u32,
481    ) -> ::libc::c_int;
482}
483unsafe extern "C" {
484    pub fn pcre2_set_compile_recursion_guard_8(
485        arg1: *mut pcre2_compile_context_8,
486        arg2: ::std::option::Option<
487            unsafe extern "C" fn(
488                arg1: u32,
489                arg2: *mut ::libc::c_void,
490            ) -> ::libc::c_int,
491        >,
492        arg3: *mut ::libc::c_void,
493    ) -> ::libc::c_int;
494}
495unsafe extern "C" {
496    pub fn pcre2_set_optimize_8(
497        arg1: *mut pcre2_compile_context_8,
498        arg2: u32,
499    ) -> ::libc::c_int;
500}
501unsafe extern "C" {
502    pub fn pcre2_convert_context_copy_8(
503        arg1: *mut pcre2_convert_context_8,
504    ) -> *mut pcre2_convert_context_8;
505}
506unsafe extern "C" {
507    pub fn pcre2_convert_context_create_8(
508        arg1: *mut pcre2_general_context_8,
509    ) -> *mut pcre2_convert_context_8;
510}
511unsafe extern "C" {
512    pub fn pcre2_convert_context_free_8(arg1: *mut pcre2_convert_context_8);
513}
514unsafe extern "C" {
515    pub fn pcre2_set_glob_escape_8(
516        arg1: *mut pcre2_convert_context_8,
517        arg2: u32,
518    ) -> ::libc::c_int;
519}
520unsafe extern "C" {
521    pub fn pcre2_set_glob_separator_8(
522        arg1: *mut pcre2_convert_context_8,
523        arg2: u32,
524    ) -> ::libc::c_int;
525}
526unsafe extern "C" {
527    pub fn pcre2_pattern_convert_8(
528        arg1: PCRE2_SPTR8,
529        arg2: usize,
530        arg3: u32,
531        arg4: *mut *mut PCRE2_UCHAR8,
532        arg5: *mut usize,
533        arg6: *mut pcre2_convert_context_8,
534    ) -> ::libc::c_int;
535}
536unsafe extern "C" {
537    pub fn pcre2_converted_pattern_free_8(arg1: *mut PCRE2_UCHAR8);
538}
539unsafe extern "C" {
540    pub fn pcre2_match_context_copy_8(
541        arg1: *mut pcre2_match_context_8,
542    ) -> *mut pcre2_match_context_8;
543}
544unsafe extern "C" {
545    pub fn pcre2_match_context_create_8(
546        arg1: *mut pcre2_general_context_8,
547    ) -> *mut pcre2_match_context_8;
548}
549unsafe extern "C" {
550    pub fn pcre2_match_context_free_8(arg1: *mut pcre2_match_context_8);
551}
552unsafe extern "C" {
553    pub fn pcre2_set_depth_limit_8(
554        arg1: *mut pcre2_match_context_8,
555        arg2: u32,
556    ) -> ::libc::c_int;
557}
558unsafe extern "C" {
559    pub fn pcre2_set_heap_limit_8(
560        arg1: *mut pcre2_match_context_8,
561        arg2: u32,
562    ) -> ::libc::c_int;
563}
564unsafe extern "C" {
565    pub fn pcre2_set_match_limit_8(
566        arg1: *mut pcre2_match_context_8,
567        arg2: u32,
568    ) -> ::libc::c_int;
569}
570unsafe extern "C" {
571    pub fn pcre2_set_offset_limit_8(
572        arg1: *mut pcre2_match_context_8,
573        arg2: usize,
574    ) -> ::libc::c_int;
575}
576unsafe extern "C" {
577    pub fn pcre2_set_recursion_limit_8(
578        arg1: *mut pcre2_match_context_8,
579        arg2: u32,
580    ) -> ::libc::c_int;
581}
582unsafe extern "C" {
583    pub fn pcre2_set_recursion_memory_management_8(
584        arg1: *mut pcre2_match_context_8,
585        arg2: ::std::option::Option<
586            unsafe extern "C" fn(
587                arg1: usize,
588                arg2: *mut ::libc::c_void,
589            ) -> *mut ::libc::c_void,
590        >,
591        arg3: ::std::option::Option<
592            unsafe extern "C" fn(
593                arg1: *mut ::libc::c_void,
594                arg2: *mut ::libc::c_void,
595            ),
596        >,
597        arg4: *mut ::libc::c_void,
598    ) -> ::libc::c_int;
599}
600unsafe extern "C" {
601    pub fn pcre2_compile_8(
602        arg1: PCRE2_SPTR8,
603        arg2: usize,
604        arg3: u32,
605        arg4: *mut ::libc::c_int,
606        arg5: *mut usize,
607        arg6: *mut pcre2_compile_context_8,
608    ) -> *mut pcre2_code_8;
609}
610unsafe extern "C" {
611    pub fn pcre2_code_free_8(arg1: *mut pcre2_code_8);
612}
613unsafe extern "C" {
614    pub fn pcre2_code_copy_8(arg1: *const pcre2_code_8) -> *mut pcre2_code_8;
615}
616unsafe extern "C" {
617    pub fn pcre2_code_copy_with_tables_8(
618        arg1: *const pcre2_code_8,
619    ) -> *mut pcre2_code_8;
620}
621unsafe extern "C" {
622    pub fn pcre2_pattern_info_8(
623        arg1: *const pcre2_code_8,
624        arg2: u32,
625        arg3: *mut ::libc::c_void,
626    ) -> ::libc::c_int;
627}
628unsafe extern "C" {
629    pub fn pcre2_match_data_create_8(
630        arg1: u32,
631        arg2: *mut pcre2_general_context_8,
632    ) -> *mut pcre2_match_data_8;
633}
634unsafe extern "C" {
635    pub fn pcre2_match_data_create_from_pattern_8(
636        arg1: *const pcre2_code_8,
637        arg2: *mut pcre2_general_context_8,
638    ) -> *mut pcre2_match_data_8;
639}
640unsafe extern "C" {
641    pub fn pcre2_dfa_match_8(
642        arg1: *const pcre2_code_8,
643        arg2: PCRE2_SPTR8,
644        arg3: usize,
645        arg4: usize,
646        arg5: u32,
647        arg6: *mut pcre2_match_data_8,
648        arg7: *mut pcre2_match_context_8,
649        arg8: *mut ::libc::c_int,
650        arg9: usize,
651    ) -> ::libc::c_int;
652}
653unsafe extern "C" {
654    pub fn pcre2_match_8(
655        arg1: *const pcre2_code_8,
656        arg2: PCRE2_SPTR8,
657        arg3: usize,
658        arg4: usize,
659        arg5: u32,
660        arg6: *mut pcre2_match_data_8,
661        arg7: *mut pcre2_match_context_8,
662    ) -> ::libc::c_int;
663}
664unsafe extern "C" {
665    pub fn pcre2_match_data_free_8(arg1: *mut pcre2_match_data_8);
666}
667unsafe extern "C" {
668    pub fn pcre2_get_mark_8(arg1: *mut pcre2_match_data_8) -> PCRE2_SPTR8;
669}
670unsafe extern "C" {
671    pub fn pcre2_get_match_data_size_8(arg1: *mut pcre2_match_data_8)
672    -> usize;
673}
674unsafe extern "C" {
675    pub fn pcre2_get_match_data_heapframes_size_8(
676        arg1: *mut pcre2_match_data_8,
677    ) -> usize;
678}
679unsafe extern "C" {
680    pub fn pcre2_get_ovector_count_8(arg1: *mut pcre2_match_data_8) -> u32;
681}
682unsafe extern "C" {
683    pub fn pcre2_get_ovector_pointer_8(
684        arg1: *mut pcre2_match_data_8,
685    ) -> *mut usize;
686}
687unsafe extern "C" {
688    pub fn pcre2_get_startchar_8(arg1: *mut pcre2_match_data_8) -> usize;
689}
690unsafe extern "C" {
691    pub fn pcre2_substring_copy_byname_8(
692        arg1: *mut pcre2_match_data_8,
693        arg2: PCRE2_SPTR8,
694        arg3: *mut PCRE2_UCHAR8,
695        arg4: *mut usize,
696    ) -> ::libc::c_int;
697}
698unsafe extern "C" {
699    pub fn pcre2_substring_copy_bynumber_8(
700        arg1: *mut pcre2_match_data_8,
701        arg2: u32,
702        arg3: *mut PCRE2_UCHAR8,
703        arg4: *mut usize,
704    ) -> ::libc::c_int;
705}
706unsafe extern "C" {
707    pub fn pcre2_substring_free_8(arg1: *mut PCRE2_UCHAR8);
708}
709unsafe extern "C" {
710    pub fn pcre2_substring_get_byname_8(
711        arg1: *mut pcre2_match_data_8,
712        arg2: PCRE2_SPTR8,
713        arg3: *mut *mut PCRE2_UCHAR8,
714        arg4: *mut usize,
715    ) -> ::libc::c_int;
716}
717unsafe extern "C" {
718    pub fn pcre2_substring_get_bynumber_8(
719        arg1: *mut pcre2_match_data_8,
720        arg2: u32,
721        arg3: *mut *mut PCRE2_UCHAR8,
722        arg4: *mut usize,
723    ) -> ::libc::c_int;
724}
725unsafe extern "C" {
726    pub fn pcre2_substring_length_byname_8(
727        arg1: *mut pcre2_match_data_8,
728        arg2: PCRE2_SPTR8,
729        arg3: *mut usize,
730    ) -> ::libc::c_int;
731}
732unsafe extern "C" {
733    pub fn pcre2_substring_length_bynumber_8(
734        arg1: *mut pcre2_match_data_8,
735        arg2: u32,
736        arg3: *mut usize,
737    ) -> ::libc::c_int;
738}
739unsafe extern "C" {
740    pub fn pcre2_substring_nametable_scan_8(
741        arg1: *const pcre2_code_8,
742        arg2: PCRE2_SPTR8,
743        arg3: *mut PCRE2_SPTR8,
744        arg4: *mut PCRE2_SPTR8,
745    ) -> ::libc::c_int;
746}
747unsafe extern "C" {
748    pub fn pcre2_substring_number_from_name_8(
749        arg1: *const pcre2_code_8,
750        arg2: PCRE2_SPTR8,
751    ) -> ::libc::c_int;
752}
753unsafe extern "C" {
754    pub fn pcre2_substring_list_free_8(arg1: *mut *mut PCRE2_UCHAR8);
755}
756unsafe extern "C" {
757    pub fn pcre2_substring_list_get_8(
758        arg1: *mut pcre2_match_data_8,
759        arg2: *mut *mut *mut PCRE2_UCHAR8,
760        arg3: *mut *mut usize,
761    ) -> ::libc::c_int;
762}
763unsafe extern "C" {
764    pub fn pcre2_serialize_encode_8(
765        arg1: *mut *const pcre2_code_8,
766        arg2: i32,
767        arg3: *mut *mut u8,
768        arg4: *mut usize,
769        arg5: *mut pcre2_general_context_8,
770    ) -> i32;
771}
772unsafe extern "C" {
773    pub fn pcre2_serialize_decode_8(
774        arg1: *mut *mut pcre2_code_8,
775        arg2: i32,
776        arg3: *const u8,
777        arg4: *mut pcre2_general_context_8,
778    ) -> i32;
779}
780unsafe extern "C" {
781    pub fn pcre2_serialize_get_number_of_codes_8(arg1: *const u8) -> i32;
782}
783unsafe extern "C" {
784    pub fn pcre2_serialize_free_8(arg1: *mut u8);
785}
786unsafe extern "C" {
787    pub fn pcre2_substitute_8(
788        arg1: *const pcre2_code_8,
789        arg2: PCRE2_SPTR8,
790        arg3: usize,
791        arg4: usize,
792        arg5: u32,
793        arg6: *mut pcre2_match_data_8,
794        arg7: *mut pcre2_match_context_8,
795        arg8: PCRE2_SPTR8,
796        arg9: usize,
797        arg10: *mut PCRE2_UCHAR8,
798        arg11: *mut usize,
799    ) -> ::libc::c_int;
800}
801unsafe extern "C" {
802    pub fn pcre2_jit_compile_8(
803        arg1: *mut pcre2_code_8,
804        arg2: u32,
805    ) -> ::libc::c_int;
806}
807unsafe extern "C" {
808    pub fn pcre2_jit_match_8(
809        arg1: *const pcre2_code_8,
810        arg2: PCRE2_SPTR8,
811        arg3: usize,
812        arg4: usize,
813        arg5: u32,
814        arg6: *mut pcre2_match_data_8,
815        arg7: *mut pcre2_match_context_8,
816    ) -> ::libc::c_int;
817}
818unsafe extern "C" {
819    pub fn pcre2_jit_free_unused_memory_8(arg1: *mut pcre2_general_context_8);
820}
821unsafe extern "C" {
822    pub fn pcre2_jit_stack_create_8(
823        arg1: usize,
824        arg2: usize,
825        arg3: *mut pcre2_general_context_8,
826    ) -> *mut pcre2_jit_stack_8;
827}
828unsafe extern "C" {
829    pub fn pcre2_jit_stack_assign_8(
830        arg1: *mut pcre2_match_context_8,
831        arg2: pcre2_jit_callback_8,
832        arg3: *mut ::libc::c_void,
833    );
834}
835unsafe extern "C" {
836    pub fn pcre2_jit_stack_free_8(arg1: *mut pcre2_jit_stack_8);
837}
838unsafe extern "C" {
839    pub fn pcre2_get_error_message_8(
840        arg1: ::libc::c_int,
841        arg2: *mut PCRE2_UCHAR8,
842        arg3: usize,
843    ) -> ::libc::c_int;
844}
845unsafe extern "C" {
846    pub fn pcre2_maketables_8(arg1: *mut pcre2_general_context_8)
847    -> *const u8;
848}
849unsafe extern "C" {
850    pub fn pcre2_maketables_free_8(
851        arg1: *mut pcre2_general_context_8,
852        arg2: *const u8,
853    );
854}
855#[repr(C)]
856#[derive(Debug, Copy, Clone)]
857pub struct pcre2_real_general_context_16 {
858    _unused: [u8; 0],
859}
860pub type pcre2_general_context_16 = pcre2_real_general_context_16;
861#[repr(C)]
862#[derive(Debug, Copy, Clone)]
863pub struct pcre2_real_compile_context_16 {
864    _unused: [u8; 0],
865}
866pub type pcre2_compile_context_16 = pcre2_real_compile_context_16;
867#[repr(C)]
868#[derive(Debug, Copy, Clone)]
869pub struct pcre2_real_match_context_16 {
870    _unused: [u8; 0],
871}
872pub type pcre2_match_context_16 = pcre2_real_match_context_16;
873#[repr(C)]
874#[derive(Debug, Copy, Clone)]
875pub struct pcre2_real_convert_context_16 {
876    _unused: [u8; 0],
877}
878pub type pcre2_convert_context_16 = pcre2_real_convert_context_16;
879#[repr(C)]
880#[derive(Debug, Copy, Clone)]
881pub struct pcre2_real_code_16 {
882    _unused: [u8; 0],
883}
884pub type pcre2_code_16 = pcre2_real_code_16;
885#[repr(C)]
886#[derive(Debug, Copy, Clone)]
887pub struct pcre2_real_match_data_16 {
888    _unused: [u8; 0],
889}
890pub type pcre2_match_data_16 = pcre2_real_match_data_16;
891#[repr(C)]
892#[derive(Debug, Copy, Clone)]
893pub struct pcre2_real_jit_stack_16 {
894    _unused: [u8; 0],
895}
896pub type pcre2_jit_stack_16 = pcre2_real_jit_stack_16;
897pub type pcre2_jit_callback_16 = ::std::option::Option<
898    unsafe extern "C" fn(arg1: *mut ::libc::c_void) -> *mut pcre2_jit_stack_16,
899>;
900unsafe extern "C" {
901    pub fn pcre2_config_16(
902        arg1: u32,
903        arg2: *mut ::libc::c_void,
904    ) -> ::libc::c_int;
905}
906unsafe extern "C" {
907    pub fn pcre2_general_context_copy_16(
908        arg1: *mut pcre2_general_context_16,
909    ) -> *mut pcre2_general_context_16;
910}
911unsafe extern "C" {
912    pub fn pcre2_general_context_create_16(
913        arg1: ::std::option::Option<
914            unsafe extern "C" fn(
915                arg1: usize,
916                arg2: *mut ::libc::c_void,
917            ) -> *mut ::libc::c_void,
918        >,
919        arg2: ::std::option::Option<
920            unsafe extern "C" fn(
921                arg1: *mut ::libc::c_void,
922                arg2: *mut ::libc::c_void,
923            ),
924        >,
925        arg3: *mut ::libc::c_void,
926    ) -> *mut pcre2_general_context_16;
927}
928unsafe extern "C" {
929    pub fn pcre2_general_context_free_16(arg1: *mut pcre2_general_context_16);
930}
931unsafe extern "C" {
932    pub fn pcre2_compile_context_copy_16(
933        arg1: *mut pcre2_compile_context_16,
934    ) -> *mut pcre2_compile_context_16;
935}
936unsafe extern "C" {
937    pub fn pcre2_compile_context_create_16(
938        arg1: *mut pcre2_general_context_16,
939    ) -> *mut pcre2_compile_context_16;
940}
941unsafe extern "C" {
942    pub fn pcre2_compile_context_free_16(arg1: *mut pcre2_compile_context_16);
943}
944unsafe extern "C" {
945    pub fn pcre2_set_bsr_16(
946        arg1: *mut pcre2_compile_context_16,
947        arg2: u32,
948    ) -> ::libc::c_int;
949}
950unsafe extern "C" {
951    pub fn pcre2_set_character_tables_16(
952        arg1: *mut pcre2_compile_context_16,
953        arg2: *const u8,
954    ) -> ::libc::c_int;
955}
956unsafe extern "C" {
957    pub fn pcre2_set_compile_extra_options_16(
958        arg1: *mut pcre2_compile_context_16,
959        arg2: u32,
960    ) -> ::libc::c_int;
961}
962unsafe extern "C" {
963    pub fn pcre2_set_max_pattern_length_16(
964        arg1: *mut pcre2_compile_context_16,
965        arg2: usize,
966    ) -> ::libc::c_int;
967}
968unsafe extern "C" {
969    pub fn pcre2_set_max_pattern_compiled_length_16(
970        arg1: *mut pcre2_compile_context_16,
971        arg2: usize,
972    ) -> ::libc::c_int;
973}
974unsafe extern "C" {
975    pub fn pcre2_set_max_varlookbehind_16(
976        arg1: *mut pcre2_compile_context_16,
977        arg2: u32,
978    ) -> ::libc::c_int;
979}
980unsafe extern "C" {
981    pub fn pcre2_set_newline_16(
982        arg1: *mut pcre2_compile_context_16,
983        arg2: u32,
984    ) -> ::libc::c_int;
985}
986unsafe extern "C" {
987    pub fn pcre2_set_parens_nest_limit_16(
988        arg1: *mut pcre2_compile_context_16,
989        arg2: u32,
990    ) -> ::libc::c_int;
991}
992unsafe extern "C" {
993    pub fn pcre2_set_compile_recursion_guard_16(
994        arg1: *mut pcre2_compile_context_16,
995        arg2: ::std::option::Option<
996            unsafe extern "C" fn(
997                arg1: u32,
998                arg2: *mut ::libc::c_void,
999            ) -> ::libc::c_int,
1000        >,
1001        arg3: *mut ::libc::c_void,
1002    ) -> ::libc::c_int;
1003}
1004unsafe extern "C" {
1005    pub fn pcre2_set_optimize_16(
1006        arg1: *mut pcre2_compile_context_16,
1007        arg2: u32,
1008    ) -> ::libc::c_int;
1009}
1010unsafe extern "C" {
1011    pub fn pcre2_convert_context_copy_16(
1012        arg1: *mut pcre2_convert_context_16,
1013    ) -> *mut pcre2_convert_context_16;
1014}
1015unsafe extern "C" {
1016    pub fn pcre2_convert_context_create_16(
1017        arg1: *mut pcre2_general_context_16,
1018    ) -> *mut pcre2_convert_context_16;
1019}
1020unsafe extern "C" {
1021    pub fn pcre2_convert_context_free_16(arg1: *mut pcre2_convert_context_16);
1022}
1023unsafe extern "C" {
1024    pub fn pcre2_set_glob_escape_16(
1025        arg1: *mut pcre2_convert_context_16,
1026        arg2: u32,
1027    ) -> ::libc::c_int;
1028}
1029unsafe extern "C" {
1030    pub fn pcre2_set_glob_separator_16(
1031        arg1: *mut pcre2_convert_context_16,
1032        arg2: u32,
1033    ) -> ::libc::c_int;
1034}
1035unsafe extern "C" {
1036    pub fn pcre2_pattern_convert_16(
1037        arg1: PCRE2_SPTR16,
1038        arg2: usize,
1039        arg3: u32,
1040        arg4: *mut *mut PCRE2_UCHAR16,
1041        arg5: *mut usize,
1042        arg6: *mut pcre2_convert_context_16,
1043    ) -> ::libc::c_int;
1044}
1045unsafe extern "C" {
1046    pub fn pcre2_converted_pattern_free_16(arg1: *mut PCRE2_UCHAR16);
1047}
1048unsafe extern "C" {
1049    pub fn pcre2_match_context_copy_16(
1050        arg1: *mut pcre2_match_context_16,
1051    ) -> *mut pcre2_match_context_16;
1052}
1053unsafe extern "C" {
1054    pub fn pcre2_match_context_create_16(
1055        arg1: *mut pcre2_general_context_16,
1056    ) -> *mut pcre2_match_context_16;
1057}
1058unsafe extern "C" {
1059    pub fn pcre2_match_context_free_16(arg1: *mut pcre2_match_context_16);
1060}
1061unsafe extern "C" {
1062    pub fn pcre2_set_depth_limit_16(
1063        arg1: *mut pcre2_match_context_16,
1064        arg2: u32,
1065    ) -> ::libc::c_int;
1066}
1067unsafe extern "C" {
1068    pub fn pcre2_set_heap_limit_16(
1069        arg1: *mut pcre2_match_context_16,
1070        arg2: u32,
1071    ) -> ::libc::c_int;
1072}
1073unsafe extern "C" {
1074    pub fn pcre2_set_match_limit_16(
1075        arg1: *mut pcre2_match_context_16,
1076        arg2: u32,
1077    ) -> ::libc::c_int;
1078}
1079unsafe extern "C" {
1080    pub fn pcre2_set_offset_limit_16(
1081        arg1: *mut pcre2_match_context_16,
1082        arg2: usize,
1083    ) -> ::libc::c_int;
1084}
1085unsafe extern "C" {
1086    pub fn pcre2_set_recursion_limit_16(
1087        arg1: *mut pcre2_match_context_16,
1088        arg2: u32,
1089    ) -> ::libc::c_int;
1090}
1091unsafe extern "C" {
1092    pub fn pcre2_set_recursion_memory_management_16(
1093        arg1: *mut pcre2_match_context_16,
1094        arg2: ::std::option::Option<
1095            unsafe extern "C" fn(
1096                arg1: usize,
1097                arg2: *mut ::libc::c_void,
1098            ) -> *mut ::libc::c_void,
1099        >,
1100        arg3: ::std::option::Option<
1101            unsafe extern "C" fn(
1102                arg1: *mut ::libc::c_void,
1103                arg2: *mut ::libc::c_void,
1104            ),
1105        >,
1106        arg4: *mut ::libc::c_void,
1107    ) -> ::libc::c_int;
1108}
1109unsafe extern "C" {
1110    pub fn pcre2_compile_16(
1111        arg1: PCRE2_SPTR16,
1112        arg2: usize,
1113        arg3: u32,
1114        arg4: *mut ::libc::c_int,
1115        arg5: *mut usize,
1116        arg6: *mut pcre2_compile_context_16,
1117    ) -> *mut pcre2_code_16;
1118}
1119unsafe extern "C" {
1120    pub fn pcre2_code_free_16(arg1: *mut pcre2_code_16);
1121}
1122unsafe extern "C" {
1123    pub fn pcre2_code_copy_16(
1124        arg1: *const pcre2_code_16,
1125    ) -> *mut pcre2_code_16;
1126}
1127unsafe extern "C" {
1128    pub fn pcre2_code_copy_with_tables_16(
1129        arg1: *const pcre2_code_16,
1130    ) -> *mut pcre2_code_16;
1131}
1132unsafe extern "C" {
1133    pub fn pcre2_pattern_info_16(
1134        arg1: *const pcre2_code_16,
1135        arg2: u32,
1136        arg3: *mut ::libc::c_void,
1137    ) -> ::libc::c_int;
1138}
1139unsafe extern "C" {
1140    pub fn pcre2_match_data_create_16(
1141        arg1: u32,
1142        arg2: *mut pcre2_general_context_16,
1143    ) -> *mut pcre2_match_data_16;
1144}
1145unsafe extern "C" {
1146    pub fn pcre2_match_data_create_from_pattern_16(
1147        arg1: *const pcre2_code_16,
1148        arg2: *mut pcre2_general_context_16,
1149    ) -> *mut pcre2_match_data_16;
1150}
1151unsafe extern "C" {
1152    pub fn pcre2_dfa_match_16(
1153        arg1: *const pcre2_code_16,
1154        arg2: PCRE2_SPTR16,
1155        arg3: usize,
1156        arg4: usize,
1157        arg5: u32,
1158        arg6: *mut pcre2_match_data_16,
1159        arg7: *mut pcre2_match_context_16,
1160        arg8: *mut ::libc::c_int,
1161        arg9: usize,
1162    ) -> ::libc::c_int;
1163}
1164unsafe extern "C" {
1165    pub fn pcre2_match_16(
1166        arg1: *const pcre2_code_16,
1167        arg2: PCRE2_SPTR16,
1168        arg3: usize,
1169        arg4: usize,
1170        arg5: u32,
1171        arg6: *mut pcre2_match_data_16,
1172        arg7: *mut pcre2_match_context_16,
1173    ) -> ::libc::c_int;
1174}
1175unsafe extern "C" {
1176    pub fn pcre2_match_data_free_16(arg1: *mut pcre2_match_data_16);
1177}
1178unsafe extern "C" {
1179    pub fn pcre2_get_mark_16(arg1: *mut pcre2_match_data_16) -> PCRE2_SPTR16;
1180}
1181unsafe extern "C" {
1182    pub fn pcre2_get_match_data_size_16(
1183        arg1: *mut pcre2_match_data_16,
1184    ) -> usize;
1185}
1186unsafe extern "C" {
1187    pub fn pcre2_get_match_data_heapframes_size_16(
1188        arg1: *mut pcre2_match_data_16,
1189    ) -> usize;
1190}
1191unsafe extern "C" {
1192    pub fn pcre2_get_ovector_count_16(arg1: *mut pcre2_match_data_16) -> u32;
1193}
1194unsafe extern "C" {
1195    pub fn pcre2_get_ovector_pointer_16(
1196        arg1: *mut pcre2_match_data_16,
1197    ) -> *mut usize;
1198}
1199unsafe extern "C" {
1200    pub fn pcre2_get_startchar_16(arg1: *mut pcre2_match_data_16) -> usize;
1201}
1202unsafe extern "C" {
1203    pub fn pcre2_substring_copy_byname_16(
1204        arg1: *mut pcre2_match_data_16,
1205        arg2: PCRE2_SPTR16,
1206        arg3: *mut PCRE2_UCHAR16,
1207        arg4: *mut usize,
1208    ) -> ::libc::c_int;
1209}
1210unsafe extern "C" {
1211    pub fn pcre2_substring_copy_bynumber_16(
1212        arg1: *mut pcre2_match_data_16,
1213        arg2: u32,
1214        arg3: *mut PCRE2_UCHAR16,
1215        arg4: *mut usize,
1216    ) -> ::libc::c_int;
1217}
1218unsafe extern "C" {
1219    pub fn pcre2_substring_free_16(arg1: *mut PCRE2_UCHAR16);
1220}
1221unsafe extern "C" {
1222    pub fn pcre2_substring_get_byname_16(
1223        arg1: *mut pcre2_match_data_16,
1224        arg2: PCRE2_SPTR16,
1225        arg3: *mut *mut PCRE2_UCHAR16,
1226        arg4: *mut usize,
1227    ) -> ::libc::c_int;
1228}
1229unsafe extern "C" {
1230    pub fn pcre2_substring_get_bynumber_16(
1231        arg1: *mut pcre2_match_data_16,
1232        arg2: u32,
1233        arg3: *mut *mut PCRE2_UCHAR16,
1234        arg4: *mut usize,
1235    ) -> ::libc::c_int;
1236}
1237unsafe extern "C" {
1238    pub fn pcre2_substring_length_byname_16(
1239        arg1: *mut pcre2_match_data_16,
1240        arg2: PCRE2_SPTR16,
1241        arg3: *mut usize,
1242    ) -> ::libc::c_int;
1243}
1244unsafe extern "C" {
1245    pub fn pcre2_substring_length_bynumber_16(
1246        arg1: *mut pcre2_match_data_16,
1247        arg2: u32,
1248        arg3: *mut usize,
1249    ) -> ::libc::c_int;
1250}
1251unsafe extern "C" {
1252    pub fn pcre2_substring_nametable_scan_16(
1253        arg1: *const pcre2_code_16,
1254        arg2: PCRE2_SPTR16,
1255        arg3: *mut PCRE2_SPTR16,
1256        arg4: *mut PCRE2_SPTR16,
1257    ) -> ::libc::c_int;
1258}
1259unsafe extern "C" {
1260    pub fn pcre2_substring_number_from_name_16(
1261        arg1: *const pcre2_code_16,
1262        arg2: PCRE2_SPTR16,
1263    ) -> ::libc::c_int;
1264}
1265unsafe extern "C" {
1266    pub fn pcre2_substring_list_free_16(arg1: *mut *mut PCRE2_UCHAR16);
1267}
1268unsafe extern "C" {
1269    pub fn pcre2_substring_list_get_16(
1270        arg1: *mut pcre2_match_data_16,
1271        arg2: *mut *mut *mut PCRE2_UCHAR16,
1272        arg3: *mut *mut usize,
1273    ) -> ::libc::c_int;
1274}
1275unsafe extern "C" {
1276    pub fn pcre2_serialize_encode_16(
1277        arg1: *mut *const pcre2_code_16,
1278        arg2: i32,
1279        arg3: *mut *mut u8,
1280        arg4: *mut usize,
1281        arg5: *mut pcre2_general_context_16,
1282    ) -> i32;
1283}
1284unsafe extern "C" {
1285    pub fn pcre2_serialize_decode_16(
1286        arg1: *mut *mut pcre2_code_16,
1287        arg2: i32,
1288        arg3: *const u8,
1289        arg4: *mut pcre2_general_context_16,
1290    ) -> i32;
1291}
1292unsafe extern "C" {
1293    pub fn pcre2_serialize_get_number_of_codes_16(arg1: *const u8) -> i32;
1294}
1295unsafe extern "C" {
1296    pub fn pcre2_serialize_free_16(arg1: *mut u8);
1297}
1298unsafe extern "C" {
1299    pub fn pcre2_substitute_16(
1300        arg1: *const pcre2_code_16,
1301        arg2: PCRE2_SPTR16,
1302        arg3: usize,
1303        arg4: usize,
1304        arg5: u32,
1305        arg6: *mut pcre2_match_data_16,
1306        arg7: *mut pcre2_match_context_16,
1307        arg8: PCRE2_SPTR16,
1308        arg9: usize,
1309        arg10: *mut PCRE2_UCHAR16,
1310        arg11: *mut usize,
1311    ) -> ::libc::c_int;
1312}
1313unsafe extern "C" {
1314    pub fn pcre2_jit_compile_16(
1315        arg1: *mut pcre2_code_16,
1316        arg2: u32,
1317    ) -> ::libc::c_int;
1318}
1319unsafe extern "C" {
1320    pub fn pcre2_jit_match_16(
1321        arg1: *const pcre2_code_16,
1322        arg2: PCRE2_SPTR16,
1323        arg3: usize,
1324        arg4: usize,
1325        arg5: u32,
1326        arg6: *mut pcre2_match_data_16,
1327        arg7: *mut pcre2_match_context_16,
1328    ) -> ::libc::c_int;
1329}
1330unsafe extern "C" {
1331    pub fn pcre2_jit_free_unused_memory_16(
1332        arg1: *mut pcre2_general_context_16,
1333    );
1334}
1335unsafe extern "C" {
1336    pub fn pcre2_jit_stack_create_16(
1337        arg1: usize,
1338        arg2: usize,
1339        arg3: *mut pcre2_general_context_16,
1340    ) -> *mut pcre2_jit_stack_16;
1341}
1342unsafe extern "C" {
1343    pub fn pcre2_jit_stack_assign_16(
1344        arg1: *mut pcre2_match_context_16,
1345        arg2: pcre2_jit_callback_16,
1346        arg3: *mut ::libc::c_void,
1347    );
1348}
1349unsafe extern "C" {
1350    pub fn pcre2_jit_stack_free_16(arg1: *mut pcre2_jit_stack_16);
1351}
1352unsafe extern "C" {
1353    pub fn pcre2_get_error_message_16(
1354        arg1: ::libc::c_int,
1355        arg2: *mut PCRE2_UCHAR16,
1356        arg3: usize,
1357    ) -> ::libc::c_int;
1358}
1359unsafe extern "C" {
1360    pub fn pcre2_maketables_16(
1361        arg1: *mut pcre2_general_context_16,
1362    ) -> *const u8;
1363}
1364unsafe extern "C" {
1365    pub fn pcre2_maketables_free_16(
1366        arg1: *mut pcre2_general_context_16,
1367        arg2: *const u8,
1368    );
1369}
1370#[repr(C)]
1371#[derive(Debug, Copy, Clone)]
1372pub struct pcre2_real_general_context_32 {
1373    _unused: [u8; 0],
1374}
1375pub type pcre2_general_context_32 = pcre2_real_general_context_32;
1376#[repr(C)]
1377#[derive(Debug, Copy, Clone)]
1378pub struct pcre2_real_compile_context_32 {
1379    _unused: [u8; 0],
1380}
1381pub type pcre2_compile_context_32 = pcre2_real_compile_context_32;
1382#[repr(C)]
1383#[derive(Debug, Copy, Clone)]
1384pub struct pcre2_real_match_context_32 {
1385    _unused: [u8; 0],
1386}
1387pub type pcre2_match_context_32 = pcre2_real_match_context_32;
1388#[repr(C)]
1389#[derive(Debug, Copy, Clone)]
1390pub struct pcre2_real_convert_context_32 {
1391    _unused: [u8; 0],
1392}
1393pub type pcre2_convert_context_32 = pcre2_real_convert_context_32;
1394#[repr(C)]
1395#[derive(Debug, Copy, Clone)]
1396pub struct pcre2_real_code_32 {
1397    _unused: [u8; 0],
1398}
1399pub type pcre2_code_32 = pcre2_real_code_32;
1400#[repr(C)]
1401#[derive(Debug, Copy, Clone)]
1402pub struct pcre2_real_match_data_32 {
1403    _unused: [u8; 0],
1404}
1405pub type pcre2_match_data_32 = pcre2_real_match_data_32;
1406#[repr(C)]
1407#[derive(Debug, Copy, Clone)]
1408pub struct pcre2_real_jit_stack_32 {
1409    _unused: [u8; 0],
1410}
1411pub type pcre2_jit_stack_32 = pcre2_real_jit_stack_32;
1412pub type pcre2_jit_callback_32 = ::std::option::Option<
1413    unsafe extern "C" fn(arg1: *mut ::libc::c_void) -> *mut pcre2_jit_stack_32,
1414>;
1415unsafe extern "C" {
1416    pub fn pcre2_config_32(
1417        arg1: u32,
1418        arg2: *mut ::libc::c_void,
1419    ) -> ::libc::c_int;
1420}
1421unsafe extern "C" {
1422    pub fn pcre2_general_context_copy_32(
1423        arg1: *mut pcre2_general_context_32,
1424    ) -> *mut pcre2_general_context_32;
1425}
1426unsafe extern "C" {
1427    pub fn pcre2_general_context_create_32(
1428        arg1: ::std::option::Option<
1429            unsafe extern "C" fn(
1430                arg1: usize,
1431                arg2: *mut ::libc::c_void,
1432            ) -> *mut ::libc::c_void,
1433        >,
1434        arg2: ::std::option::Option<
1435            unsafe extern "C" fn(
1436                arg1: *mut ::libc::c_void,
1437                arg2: *mut ::libc::c_void,
1438            ),
1439        >,
1440        arg3: *mut ::libc::c_void,
1441    ) -> *mut pcre2_general_context_32;
1442}
1443unsafe extern "C" {
1444    pub fn pcre2_general_context_free_32(arg1: *mut pcre2_general_context_32);
1445}
1446unsafe extern "C" {
1447    pub fn pcre2_compile_context_copy_32(
1448        arg1: *mut pcre2_compile_context_32,
1449    ) -> *mut pcre2_compile_context_32;
1450}
1451unsafe extern "C" {
1452    pub fn pcre2_compile_context_create_32(
1453        arg1: *mut pcre2_general_context_32,
1454    ) -> *mut pcre2_compile_context_32;
1455}
1456unsafe extern "C" {
1457    pub fn pcre2_compile_context_free_32(arg1: *mut pcre2_compile_context_32);
1458}
1459unsafe extern "C" {
1460    pub fn pcre2_set_bsr_32(
1461        arg1: *mut pcre2_compile_context_32,
1462        arg2: u32,
1463    ) -> ::libc::c_int;
1464}
1465unsafe extern "C" {
1466    pub fn pcre2_set_character_tables_32(
1467        arg1: *mut pcre2_compile_context_32,
1468        arg2: *const u8,
1469    ) -> ::libc::c_int;
1470}
1471unsafe extern "C" {
1472    pub fn pcre2_set_compile_extra_options_32(
1473        arg1: *mut pcre2_compile_context_32,
1474        arg2: u32,
1475    ) -> ::libc::c_int;
1476}
1477unsafe extern "C" {
1478    pub fn pcre2_set_max_pattern_length_32(
1479        arg1: *mut pcre2_compile_context_32,
1480        arg2: usize,
1481    ) -> ::libc::c_int;
1482}
1483unsafe extern "C" {
1484    pub fn pcre2_set_max_pattern_compiled_length_32(
1485        arg1: *mut pcre2_compile_context_32,
1486        arg2: usize,
1487    ) -> ::libc::c_int;
1488}
1489unsafe extern "C" {
1490    pub fn pcre2_set_max_varlookbehind_32(
1491        arg1: *mut pcre2_compile_context_32,
1492        arg2: u32,
1493    ) -> ::libc::c_int;
1494}
1495unsafe extern "C" {
1496    pub fn pcre2_set_newline_32(
1497        arg1: *mut pcre2_compile_context_32,
1498        arg2: u32,
1499    ) -> ::libc::c_int;
1500}
1501unsafe extern "C" {
1502    pub fn pcre2_set_parens_nest_limit_32(
1503        arg1: *mut pcre2_compile_context_32,
1504        arg2: u32,
1505    ) -> ::libc::c_int;
1506}
1507unsafe extern "C" {
1508    pub fn pcre2_set_compile_recursion_guard_32(
1509        arg1: *mut pcre2_compile_context_32,
1510        arg2: ::std::option::Option<
1511            unsafe extern "C" fn(
1512                arg1: u32,
1513                arg2: *mut ::libc::c_void,
1514            ) -> ::libc::c_int,
1515        >,
1516        arg3: *mut ::libc::c_void,
1517    ) -> ::libc::c_int;
1518}
1519unsafe extern "C" {
1520    pub fn pcre2_set_optimize_32(
1521        arg1: *mut pcre2_compile_context_32,
1522        arg2: u32,
1523    ) -> ::libc::c_int;
1524}
1525unsafe extern "C" {
1526    pub fn pcre2_convert_context_copy_32(
1527        arg1: *mut pcre2_convert_context_32,
1528    ) -> *mut pcre2_convert_context_32;
1529}
1530unsafe extern "C" {
1531    pub fn pcre2_convert_context_create_32(
1532        arg1: *mut pcre2_general_context_32,
1533    ) -> *mut pcre2_convert_context_32;
1534}
1535unsafe extern "C" {
1536    pub fn pcre2_convert_context_free_32(arg1: *mut pcre2_convert_context_32);
1537}
1538unsafe extern "C" {
1539    pub fn pcre2_set_glob_escape_32(
1540        arg1: *mut pcre2_convert_context_32,
1541        arg2: u32,
1542    ) -> ::libc::c_int;
1543}
1544unsafe extern "C" {
1545    pub fn pcre2_set_glob_separator_32(
1546        arg1: *mut pcre2_convert_context_32,
1547        arg2: u32,
1548    ) -> ::libc::c_int;
1549}
1550unsafe extern "C" {
1551    pub fn pcre2_pattern_convert_32(
1552        arg1: PCRE2_SPTR32,
1553        arg2: usize,
1554        arg3: u32,
1555        arg4: *mut *mut PCRE2_UCHAR32,
1556        arg5: *mut usize,
1557        arg6: *mut pcre2_convert_context_32,
1558    ) -> ::libc::c_int;
1559}
1560unsafe extern "C" {
1561    pub fn pcre2_converted_pattern_free_32(arg1: *mut PCRE2_UCHAR32);
1562}
1563unsafe extern "C" {
1564    pub fn pcre2_match_context_copy_32(
1565        arg1: *mut pcre2_match_context_32,
1566    ) -> *mut pcre2_match_context_32;
1567}
1568unsafe extern "C" {
1569    pub fn pcre2_match_context_create_32(
1570        arg1: *mut pcre2_general_context_32,
1571    ) -> *mut pcre2_match_context_32;
1572}
1573unsafe extern "C" {
1574    pub fn pcre2_match_context_free_32(arg1: *mut pcre2_match_context_32);
1575}
1576unsafe extern "C" {
1577    pub fn pcre2_set_depth_limit_32(
1578        arg1: *mut pcre2_match_context_32,
1579        arg2: u32,
1580    ) -> ::libc::c_int;
1581}
1582unsafe extern "C" {
1583    pub fn pcre2_set_heap_limit_32(
1584        arg1: *mut pcre2_match_context_32,
1585        arg2: u32,
1586    ) -> ::libc::c_int;
1587}
1588unsafe extern "C" {
1589    pub fn pcre2_set_match_limit_32(
1590        arg1: *mut pcre2_match_context_32,
1591        arg2: u32,
1592    ) -> ::libc::c_int;
1593}
1594unsafe extern "C" {
1595    pub fn pcre2_set_offset_limit_32(
1596        arg1: *mut pcre2_match_context_32,
1597        arg2: usize,
1598    ) -> ::libc::c_int;
1599}
1600unsafe extern "C" {
1601    pub fn pcre2_set_recursion_limit_32(
1602        arg1: *mut pcre2_match_context_32,
1603        arg2: u32,
1604    ) -> ::libc::c_int;
1605}
1606unsafe extern "C" {
1607    pub fn pcre2_set_recursion_memory_management_32(
1608        arg1: *mut pcre2_match_context_32,
1609        arg2: ::std::option::Option<
1610            unsafe extern "C" fn(
1611                arg1: usize,
1612                arg2: *mut ::libc::c_void,
1613            ) -> *mut ::libc::c_void,
1614        >,
1615        arg3: ::std::option::Option<
1616            unsafe extern "C" fn(
1617                arg1: *mut ::libc::c_void,
1618                arg2: *mut ::libc::c_void,
1619            ),
1620        >,
1621        arg4: *mut ::libc::c_void,
1622    ) -> ::libc::c_int;
1623}
1624unsafe extern "C" {
1625    pub fn pcre2_compile_32(
1626        arg1: PCRE2_SPTR32,
1627        arg2: usize,
1628        arg3: u32,
1629        arg4: *mut ::libc::c_int,
1630        arg5: *mut usize,
1631        arg6: *mut pcre2_compile_context_32,
1632    ) -> *mut pcre2_code_32;
1633}
1634unsafe extern "C" {
1635    pub fn pcre2_code_free_32(arg1: *mut pcre2_code_32);
1636}
1637unsafe extern "C" {
1638    pub fn pcre2_code_copy_32(
1639        arg1: *const pcre2_code_32,
1640    ) -> *mut pcre2_code_32;
1641}
1642unsafe extern "C" {
1643    pub fn pcre2_code_copy_with_tables_32(
1644        arg1: *const pcre2_code_32,
1645    ) -> *mut pcre2_code_32;
1646}
1647unsafe extern "C" {
1648    pub fn pcre2_pattern_info_32(
1649        arg1: *const pcre2_code_32,
1650        arg2: u32,
1651        arg3: *mut ::libc::c_void,
1652    ) -> ::libc::c_int;
1653}
1654unsafe extern "C" {
1655    pub fn pcre2_match_data_create_32(
1656        arg1: u32,
1657        arg2: *mut pcre2_general_context_32,
1658    ) -> *mut pcre2_match_data_32;
1659}
1660unsafe extern "C" {
1661    pub fn pcre2_match_data_create_from_pattern_32(
1662        arg1: *const pcre2_code_32,
1663        arg2: *mut pcre2_general_context_32,
1664    ) -> *mut pcre2_match_data_32;
1665}
1666unsafe extern "C" {
1667    pub fn pcre2_dfa_match_32(
1668        arg1: *const pcre2_code_32,
1669        arg2: PCRE2_SPTR32,
1670        arg3: usize,
1671        arg4: usize,
1672        arg5: u32,
1673        arg6: *mut pcre2_match_data_32,
1674        arg7: *mut pcre2_match_context_32,
1675        arg8: *mut ::libc::c_int,
1676        arg9: usize,
1677    ) -> ::libc::c_int;
1678}
1679unsafe extern "C" {
1680    pub fn pcre2_match_32(
1681        arg1: *const pcre2_code_32,
1682        arg2: PCRE2_SPTR32,
1683        arg3: usize,
1684        arg4: usize,
1685        arg5: u32,
1686        arg6: *mut pcre2_match_data_32,
1687        arg7: *mut pcre2_match_context_32,
1688    ) -> ::libc::c_int;
1689}
1690unsafe extern "C" {
1691    pub fn pcre2_match_data_free_32(arg1: *mut pcre2_match_data_32);
1692}
1693unsafe extern "C" {
1694    pub fn pcre2_get_mark_32(arg1: *mut pcre2_match_data_32) -> PCRE2_SPTR32;
1695}
1696unsafe extern "C" {
1697    pub fn pcre2_get_match_data_size_32(
1698        arg1: *mut pcre2_match_data_32,
1699    ) -> usize;
1700}
1701unsafe extern "C" {
1702    pub fn pcre2_get_match_data_heapframes_size_32(
1703        arg1: *mut pcre2_match_data_32,
1704    ) -> usize;
1705}
1706unsafe extern "C" {
1707    pub fn pcre2_get_ovector_count_32(arg1: *mut pcre2_match_data_32) -> u32;
1708}
1709unsafe extern "C" {
1710    pub fn pcre2_get_ovector_pointer_32(
1711        arg1: *mut pcre2_match_data_32,
1712    ) -> *mut usize;
1713}
1714unsafe extern "C" {
1715    pub fn pcre2_get_startchar_32(arg1: *mut pcre2_match_data_32) -> usize;
1716}
1717unsafe extern "C" {
1718    pub fn pcre2_substring_copy_byname_32(
1719        arg1: *mut pcre2_match_data_32,
1720        arg2: PCRE2_SPTR32,
1721        arg3: *mut PCRE2_UCHAR32,
1722        arg4: *mut usize,
1723    ) -> ::libc::c_int;
1724}
1725unsafe extern "C" {
1726    pub fn pcre2_substring_copy_bynumber_32(
1727        arg1: *mut pcre2_match_data_32,
1728        arg2: u32,
1729        arg3: *mut PCRE2_UCHAR32,
1730        arg4: *mut usize,
1731    ) -> ::libc::c_int;
1732}
1733unsafe extern "C" {
1734    pub fn pcre2_substring_free_32(arg1: *mut PCRE2_UCHAR32);
1735}
1736unsafe extern "C" {
1737    pub fn pcre2_substring_get_byname_32(
1738        arg1: *mut pcre2_match_data_32,
1739        arg2: PCRE2_SPTR32,
1740        arg3: *mut *mut PCRE2_UCHAR32,
1741        arg4: *mut usize,
1742    ) -> ::libc::c_int;
1743}
1744unsafe extern "C" {
1745    pub fn pcre2_substring_get_bynumber_32(
1746        arg1: *mut pcre2_match_data_32,
1747        arg2: u32,
1748        arg3: *mut *mut PCRE2_UCHAR32,
1749        arg4: *mut usize,
1750    ) -> ::libc::c_int;
1751}
1752unsafe extern "C" {
1753    pub fn pcre2_substring_length_byname_32(
1754        arg1: *mut pcre2_match_data_32,
1755        arg2: PCRE2_SPTR32,
1756        arg3: *mut usize,
1757    ) -> ::libc::c_int;
1758}
1759unsafe extern "C" {
1760    pub fn pcre2_substring_length_bynumber_32(
1761        arg1: *mut pcre2_match_data_32,
1762        arg2: u32,
1763        arg3: *mut usize,
1764    ) -> ::libc::c_int;
1765}
1766unsafe extern "C" {
1767    pub fn pcre2_substring_nametable_scan_32(
1768        arg1: *const pcre2_code_32,
1769        arg2: PCRE2_SPTR32,
1770        arg3: *mut PCRE2_SPTR32,
1771        arg4: *mut PCRE2_SPTR32,
1772    ) -> ::libc::c_int;
1773}
1774unsafe extern "C" {
1775    pub fn pcre2_substring_number_from_name_32(
1776        arg1: *const pcre2_code_32,
1777        arg2: PCRE2_SPTR32,
1778    ) -> ::libc::c_int;
1779}
1780unsafe extern "C" {
1781    pub fn pcre2_substring_list_free_32(arg1: *mut *mut PCRE2_UCHAR32);
1782}
1783unsafe extern "C" {
1784    pub fn pcre2_substring_list_get_32(
1785        arg1: *mut pcre2_match_data_32,
1786        arg2: *mut *mut *mut PCRE2_UCHAR32,
1787        arg3: *mut *mut usize,
1788    ) -> ::libc::c_int;
1789}
1790unsafe extern "C" {
1791    pub fn pcre2_serialize_encode_32(
1792        arg1: *mut *const pcre2_code_32,
1793        arg2: i32,
1794        arg3: *mut *mut u8,
1795        arg4: *mut usize,
1796        arg5: *mut pcre2_general_context_32,
1797    ) -> i32;
1798}
1799unsafe extern "C" {
1800    pub fn pcre2_serialize_decode_32(
1801        arg1: *mut *mut pcre2_code_32,
1802        arg2: i32,
1803        arg3: *const u8,
1804        arg4: *mut pcre2_general_context_32,
1805    ) -> i32;
1806}
1807unsafe extern "C" {
1808    pub fn pcre2_serialize_get_number_of_codes_32(arg1: *const u8) -> i32;
1809}
1810unsafe extern "C" {
1811    pub fn pcre2_serialize_free_32(arg1: *mut u8);
1812}
1813unsafe extern "C" {
1814    pub fn pcre2_substitute_32(
1815        arg1: *const pcre2_code_32,
1816        arg2: PCRE2_SPTR32,
1817        arg3: usize,
1818        arg4: usize,
1819        arg5: u32,
1820        arg6: *mut pcre2_match_data_32,
1821        arg7: *mut pcre2_match_context_32,
1822        arg8: PCRE2_SPTR32,
1823        arg9: usize,
1824        arg10: *mut PCRE2_UCHAR32,
1825        arg11: *mut usize,
1826    ) -> ::libc::c_int;
1827}
1828unsafe extern "C" {
1829    pub fn pcre2_jit_compile_32(
1830        arg1: *mut pcre2_code_32,
1831        arg2: u32,
1832    ) -> ::libc::c_int;
1833}
1834unsafe extern "C" {
1835    pub fn pcre2_jit_match_32(
1836        arg1: *const pcre2_code_32,
1837        arg2: PCRE2_SPTR32,
1838        arg3: usize,
1839        arg4: usize,
1840        arg5: u32,
1841        arg6: *mut pcre2_match_data_32,
1842        arg7: *mut pcre2_match_context_32,
1843    ) -> ::libc::c_int;
1844}
1845unsafe extern "C" {
1846    pub fn pcre2_jit_free_unused_memory_32(
1847        arg1: *mut pcre2_general_context_32,
1848    );
1849}
1850unsafe extern "C" {
1851    pub fn pcre2_jit_stack_create_32(
1852        arg1: usize,
1853        arg2: usize,
1854        arg3: *mut pcre2_general_context_32,
1855    ) -> *mut pcre2_jit_stack_32;
1856}
1857unsafe extern "C" {
1858    pub fn pcre2_jit_stack_assign_32(
1859        arg1: *mut pcre2_match_context_32,
1860        arg2: pcre2_jit_callback_32,
1861        arg3: *mut ::libc::c_void,
1862    );
1863}
1864unsafe extern "C" {
1865    pub fn pcre2_jit_stack_free_32(arg1: *mut pcre2_jit_stack_32);
1866}
1867unsafe extern "C" {
1868    pub fn pcre2_get_error_message_32(
1869        arg1: ::libc::c_int,
1870        arg2: *mut PCRE2_UCHAR32,
1871        arg3: usize,
1872    ) -> ::libc::c_int;
1873}
1874unsafe extern "C" {
1875    pub fn pcre2_maketables_32(
1876        arg1: *mut pcre2_general_context_32,
1877    ) -> *const u8;
1878}
1879unsafe extern "C" {
1880    pub fn pcre2_maketables_free_32(
1881        arg1: *mut pcre2_general_context_32,
1882        arg2: *const u8,
1883    );
1884}