Go to the SVN repository for this file.
39 #ifndef PCRE2_H_IDEMPOTENT_GUARD 40 #define PCRE2_H_IDEMPOTENT_GUARD 44 #define PCRE2_MAJOR 10 45 #define PCRE2_MINOR 44 46 #define PCRE2_PRERELEASE 47 #define PCRE2_DATE 2024-06-07 56 # define PCRE2_STATIC 1 60 #if defined(_WIN32) && !defined(PCRE2_STATIC) 61 # ifndef PCRE2_EXP_DECL 62 # define PCRE2_EXP_DECL extern __declspec(dllimport) 68 #ifndef PCRE2_EXP_DECL 70 # define PCRE2_EXP_DECL extern "C" 72 # define PCRE2_EXP_DECL extern 86 #ifndef PCRE2_CALL_CONVENTION 87 #define PCRE2_CALL_CONVENTION 111 #define PCRE2_ANCHORED 0x80000000u 112 #define PCRE2_NO_UTF_CHECK 0x40000000u 113 #define PCRE2_ENDANCHORED 0x20000000u 125 #define PCRE2_ALLOW_EMPTY_CLASS 0x00000001u 126 #define PCRE2_ALT_BSUX 0x00000002u 127 #define PCRE2_AUTO_CALLOUT 0x00000004u 128 #define PCRE2_CASELESS 0x00000008u 129 #define PCRE2_DOLLAR_ENDONLY 0x00000010u 130 #define PCRE2_DOTALL 0x00000020u 131 #define PCRE2_DUPNAMES 0x00000040u 132 #define PCRE2_EXTENDED 0x00000080u 133 #define PCRE2_FIRSTLINE 0x00000100u 134 #define PCRE2_MATCH_UNSET_BACKREF 0x00000200u 135 #define PCRE2_MULTILINE 0x00000400u 136 #define PCRE2_NEVER_UCP 0x00000800u 137 #define PCRE2_NEVER_UTF 0x00001000u 138 #define PCRE2_NO_AUTO_CAPTURE 0x00002000u 139 #define PCRE2_NO_AUTO_POSSESS 0x00004000u 140 #define PCRE2_NO_DOTSTAR_ANCHOR 0x00008000u 141 #define PCRE2_NO_START_OPTIMIZE 0x00010000u 142 #define PCRE2_UCP 0x00020000u 143 #define PCRE2_UNGREEDY 0x00040000u 144 #define PCRE2_UTF 0x00080000u 145 #define PCRE2_NEVER_BACKSLASH_C 0x00100000u 146 #define PCRE2_ALT_CIRCUMFLEX 0x00200000u 147 #define PCRE2_ALT_VERBNAMES 0x00400000u 148 #define PCRE2_USE_OFFSET_LIMIT 0x00800000u 149 #define PCRE2_EXTENDED_MORE 0x01000000u 150 #define PCRE2_LITERAL 0x02000000u 151 #define PCRE2_MATCH_INVALID_UTF 0x04000000u 155 #define PCRE2_EXTRA_ALLOW_SURROGATE_ESCAPES 0x00000001u 156 #define PCRE2_EXTRA_BAD_ESCAPE_IS_LITERAL 0x00000002u 157 #define PCRE2_EXTRA_MATCH_WORD 0x00000004u 158 #define PCRE2_EXTRA_MATCH_LINE 0x00000008u 159 #define PCRE2_EXTRA_ESCAPED_CR_IS_LF 0x00000010u 160 #define PCRE2_EXTRA_ALT_BSUX 0x00000020u 161 #define PCRE2_EXTRA_ALLOW_LOOKAROUND_BSK 0x00000040u 162 #define PCRE2_EXTRA_CASELESS_RESTRICT 0x00000080u 163 #define PCRE2_EXTRA_ASCII_BSD 0x00000100u 164 #define PCRE2_EXTRA_ASCII_BSS 0x00000200u 165 #define PCRE2_EXTRA_ASCII_BSW 0x00000400u 166 #define PCRE2_EXTRA_ASCII_POSIX 0x00000800u 167 #define PCRE2_EXTRA_ASCII_DIGIT 0x00001000u 171 #define PCRE2_JIT_COMPLETE 0x00000001u 172 #define PCRE2_JIT_PARTIAL_SOFT 0x00000002u 173 #define PCRE2_JIT_PARTIAL_HARD 0x00000004u 174 #define PCRE2_JIT_INVALID_UTF 0x00000100u 182 #define PCRE2_NOTBOL 0x00000001u 183 #define PCRE2_NOTEOL 0x00000002u 184 #define PCRE2_NOTEMPTY 0x00000004u 185 #define PCRE2_NOTEMPTY_ATSTART 0x00000008u 186 #define PCRE2_PARTIAL_SOFT 0x00000010u 187 #define PCRE2_PARTIAL_HARD 0x00000020u 188 #define PCRE2_DFA_RESTART 0x00000040u 189 #define PCRE2_DFA_SHORTEST 0x00000080u 190 #define PCRE2_SUBSTITUTE_GLOBAL 0x00000100u 191 #define PCRE2_SUBSTITUTE_EXTENDED 0x00000200u 192 #define PCRE2_SUBSTITUTE_UNSET_EMPTY 0x00000400u 193 #define PCRE2_SUBSTITUTE_UNKNOWN_UNSET 0x00000800u 194 #define PCRE2_SUBSTITUTE_OVERFLOW_LENGTH 0x00001000u 195 #define PCRE2_NO_JIT 0x00002000u 196 #define PCRE2_COPY_MATCHED_SUBJECT 0x00004000u 197 #define PCRE2_SUBSTITUTE_LITERAL 0x00008000u 198 #define PCRE2_SUBSTITUTE_MATCHED 0x00010000u 199 #define PCRE2_SUBSTITUTE_REPLACEMENT_ONLY 0x00020000u 200 #define PCRE2_DISABLE_RECURSELOOP_CHECK 0x00040000u 204 #define PCRE2_CONVERT_UTF 0x00000001u 205 #define PCRE2_CONVERT_NO_UTF_CHECK 0x00000002u 206 #define PCRE2_CONVERT_POSIX_BASIC 0x00000004u 207 #define PCRE2_CONVERT_POSIX_EXTENDED 0x00000008u 208 #define PCRE2_CONVERT_GLOB 0x00000010u 209 #define PCRE2_CONVERT_GLOB_NO_WILD_SEPARATOR 0x00000030u 210 #define PCRE2_CONVERT_GLOB_NO_STARSTAR 0x00000050u 216 #define PCRE2_NEWLINE_CR 1 217 #define PCRE2_NEWLINE_LF 2 218 #define PCRE2_NEWLINE_CRLF 3 219 #define PCRE2_NEWLINE_ANY 4 220 #define PCRE2_NEWLINE_ANYCRLF 5 221 #define PCRE2_NEWLINE_NUL 6 223 #define PCRE2_BSR_UNICODE 1 224 #define PCRE2_BSR_ANYCRLF 2 229 #define PCRE2_ERROR_END_BACKSLASH 101 230 #define PCRE2_ERROR_END_BACKSLASH_C 102 231 #define PCRE2_ERROR_UNKNOWN_ESCAPE 103 232 #define PCRE2_ERROR_QUANTIFIER_OUT_OF_ORDER 104 233 #define PCRE2_ERROR_QUANTIFIER_TOO_BIG 105 234 #define PCRE2_ERROR_MISSING_SQUARE_BRACKET 106 235 #define PCRE2_ERROR_ESCAPE_INVALID_IN_CLASS 107 236 #define PCRE2_ERROR_CLASS_RANGE_ORDER 108 237 #define PCRE2_ERROR_QUANTIFIER_INVALID 109 238 #define PCRE2_ERROR_INTERNAL_UNEXPECTED_REPEAT 110 239 #define PCRE2_ERROR_INVALID_AFTER_PARENS_QUERY 111 240 #define PCRE2_ERROR_POSIX_CLASS_NOT_IN_CLASS 112 241 #define PCRE2_ERROR_POSIX_NO_SUPPORT_COLLATING 113 242 #define PCRE2_ERROR_MISSING_CLOSING_PARENTHESIS 114 243 #define PCRE2_ERROR_BAD_SUBPATTERN_REFERENCE 115 244 #define PCRE2_ERROR_NULL_PATTERN 116 245 #define PCRE2_ERROR_BAD_OPTIONS 117 246 #define PCRE2_ERROR_MISSING_COMMENT_CLOSING 118 247 #define PCRE2_ERROR_PARENTHESES_NEST_TOO_DEEP 119 248 #define PCRE2_ERROR_PATTERN_TOO_LARGE 120 249 #define PCRE2_ERROR_HEAP_FAILED 121 250 #define PCRE2_ERROR_UNMATCHED_CLOSING_PARENTHESIS 122 251 #define PCRE2_ERROR_INTERNAL_CODE_OVERFLOW 123 252 #define PCRE2_ERROR_MISSING_CONDITION_CLOSING 124 253 #define PCRE2_ERROR_LOOKBEHIND_NOT_FIXED_LENGTH 125 254 #define PCRE2_ERROR_ZERO_RELATIVE_REFERENCE 126 255 #define PCRE2_ERROR_TOO_MANY_CONDITION_BRANCHES 127 256 #define PCRE2_ERROR_CONDITION_ASSERTION_EXPECTED 128 257 #define PCRE2_ERROR_BAD_RELATIVE_REFERENCE 129 258 #define PCRE2_ERROR_UNKNOWN_POSIX_CLASS 130 259 #define PCRE2_ERROR_INTERNAL_STUDY_ERROR 131 260 #define PCRE2_ERROR_UNICODE_NOT_SUPPORTED 132 261 #define PCRE2_ERROR_PARENTHESES_STACK_CHECK 133 262 #define PCRE2_ERROR_CODE_POINT_TOO_BIG 134 263 #define PCRE2_ERROR_LOOKBEHIND_TOO_COMPLICATED 135 264 #define PCRE2_ERROR_LOOKBEHIND_INVALID_BACKSLASH_C 136 265 #define PCRE2_ERROR_UNSUPPORTED_ESCAPE_SEQUENCE 137 266 #define PCRE2_ERROR_CALLOUT_NUMBER_TOO_BIG 138 267 #define PCRE2_ERROR_MISSING_CALLOUT_CLOSING 139 268 #define PCRE2_ERROR_ESCAPE_INVALID_IN_VERB 140 269 #define PCRE2_ERROR_UNRECOGNIZED_AFTER_QUERY_P 141 270 #define PCRE2_ERROR_MISSING_NAME_TERMINATOR 142 271 #define PCRE2_ERROR_DUPLICATE_SUBPATTERN_NAME 143 272 #define PCRE2_ERROR_INVALID_SUBPATTERN_NAME 144 273 #define PCRE2_ERROR_UNICODE_PROPERTIES_UNAVAILABLE 145 274 #define PCRE2_ERROR_MALFORMED_UNICODE_PROPERTY 146 275 #define PCRE2_ERROR_UNKNOWN_UNICODE_PROPERTY 147 276 #define PCRE2_ERROR_SUBPATTERN_NAME_TOO_LONG 148 277 #define PCRE2_ERROR_TOO_MANY_NAMED_SUBPATTERNS 149 278 #define PCRE2_ERROR_CLASS_INVALID_RANGE 150 279 #define PCRE2_ERROR_OCTAL_BYTE_TOO_BIG 151 280 #define PCRE2_ERROR_INTERNAL_OVERRAN_WORKSPACE 152 281 #define PCRE2_ERROR_INTERNAL_MISSING_SUBPATTERN 153 282 #define PCRE2_ERROR_DEFINE_TOO_MANY_BRANCHES 154 283 #define PCRE2_ERROR_BACKSLASH_O_MISSING_BRACE 155 284 #define PCRE2_ERROR_INTERNAL_UNKNOWN_NEWLINE 156 285 #define PCRE2_ERROR_BACKSLASH_G_SYNTAX 157 286 #define PCRE2_ERROR_PARENS_QUERY_R_MISSING_CLOSING 158 288 #define PCRE2_ERROR_VERB_ARGUMENT_NOT_ALLOWED 159 289 #define PCRE2_ERROR_VERB_UNKNOWN 160 290 #define PCRE2_ERROR_SUBPATTERN_NUMBER_TOO_BIG 161 291 #define PCRE2_ERROR_SUBPATTERN_NAME_EXPECTED 162 292 #define PCRE2_ERROR_INTERNAL_PARSED_OVERFLOW 163 293 #define PCRE2_ERROR_INVALID_OCTAL 164 294 #define PCRE2_ERROR_SUBPATTERN_NAMES_MISMATCH 165 295 #define PCRE2_ERROR_MARK_MISSING_ARGUMENT 166 296 #define PCRE2_ERROR_INVALID_HEXADECIMAL 167 297 #define PCRE2_ERROR_BACKSLASH_C_SYNTAX 168 298 #define PCRE2_ERROR_BACKSLASH_K_SYNTAX 169 299 #define PCRE2_ERROR_INTERNAL_BAD_CODE_LOOKBEHINDS 170 300 #define PCRE2_ERROR_BACKSLASH_N_IN_CLASS 171 301 #define PCRE2_ERROR_CALLOUT_STRING_TOO_LONG 172 302 #define PCRE2_ERROR_UNICODE_DISALLOWED_CODE_POINT 173 303 #define PCRE2_ERROR_UTF_IS_DISABLED 174 304 #define PCRE2_ERROR_UCP_IS_DISABLED 175 305 #define PCRE2_ERROR_VERB_NAME_TOO_LONG 176 306 #define PCRE2_ERROR_BACKSLASH_U_CODE_POINT_TOO_BIG 177 307 #define PCRE2_ERROR_MISSING_OCTAL_OR_HEX_DIGITS 178 308 #define PCRE2_ERROR_VERSION_CONDITION_SYNTAX 179 309 #define PCRE2_ERROR_INTERNAL_BAD_CODE_AUTO_POSSESS 180 310 #define PCRE2_ERROR_CALLOUT_NO_STRING_DELIMITER 181 311 #define PCRE2_ERROR_CALLOUT_BAD_STRING_DELIMITER 182 312 #define PCRE2_ERROR_BACKSLASH_C_CALLER_DISABLED 183 313 #define PCRE2_ERROR_QUERY_BARJX_NEST_TOO_DEEP 184 314 #define PCRE2_ERROR_BACKSLASH_C_LIBRARY_DISABLED 185 315 #define PCRE2_ERROR_PATTERN_TOO_COMPLICATED 186 316 #define PCRE2_ERROR_LOOKBEHIND_TOO_LONG 187 317 #define PCRE2_ERROR_PATTERN_STRING_TOO_LONG 188 318 #define PCRE2_ERROR_INTERNAL_BAD_CODE 189 319 #define PCRE2_ERROR_INTERNAL_BAD_CODE_IN_SKIP 190 320 #define PCRE2_ERROR_NO_SURROGATES_IN_UTF16 191 321 #define PCRE2_ERROR_BAD_LITERAL_OPTIONS 192 322 #define PCRE2_ERROR_SUPPORTED_ONLY_IN_UNICODE 193 323 #define PCRE2_ERROR_INVALID_HYPHEN_IN_OPTIONS 194 324 #define PCRE2_ERROR_ALPHA_ASSERTION_UNKNOWN 195 325 #define PCRE2_ERROR_SCRIPT_RUN_NOT_AVAILABLE 196 326 #define PCRE2_ERROR_TOO_MANY_CAPTURES 197 327 #define PCRE2_ERROR_CONDITION_ATOMIC_ASSERTION_EXPECTED 198 328 #define PCRE2_ERROR_BACKSLASH_K_IN_LOOKAROUND 199 333 #define PCRE2_ERROR_NOMATCH (-1) 334 #define PCRE2_ERROR_PARTIAL (-2) 338 #define PCRE2_ERROR_UTF8_ERR1 (-3) 339 #define PCRE2_ERROR_UTF8_ERR2 (-4) 340 #define PCRE2_ERROR_UTF8_ERR3 (-5) 341 #define PCRE2_ERROR_UTF8_ERR4 (-6) 342 #define PCRE2_ERROR_UTF8_ERR5 (-7) 343 #define PCRE2_ERROR_UTF8_ERR6 (-8) 344 #define PCRE2_ERROR_UTF8_ERR7 (-9) 345 #define PCRE2_ERROR_UTF8_ERR8 (-10) 346 #define PCRE2_ERROR_UTF8_ERR9 (-11) 347 #define PCRE2_ERROR_UTF8_ERR10 (-12) 348 #define PCRE2_ERROR_UTF8_ERR11 (-13) 349 #define PCRE2_ERROR_UTF8_ERR12 (-14) 350 #define PCRE2_ERROR_UTF8_ERR13 (-15) 351 #define PCRE2_ERROR_UTF8_ERR14 (-16) 352 #define PCRE2_ERROR_UTF8_ERR15 (-17) 353 #define PCRE2_ERROR_UTF8_ERR16 (-18) 354 #define PCRE2_ERROR_UTF8_ERR17 (-19) 355 #define PCRE2_ERROR_UTF8_ERR18 (-20) 356 #define PCRE2_ERROR_UTF8_ERR19 (-21) 357 #define PCRE2_ERROR_UTF8_ERR20 (-22) 358 #define PCRE2_ERROR_UTF8_ERR21 (-23) 362 #define PCRE2_ERROR_UTF16_ERR1 (-24) 363 #define PCRE2_ERROR_UTF16_ERR2 (-25) 364 #define PCRE2_ERROR_UTF16_ERR3 (-26) 368 #define PCRE2_ERROR_UTF32_ERR1 (-27) 369 #define PCRE2_ERROR_UTF32_ERR2 (-28) 376 #define PCRE2_ERROR_BADDATA (-29) 377 #define PCRE2_ERROR_MIXEDTABLES (-30) 378 #define PCRE2_ERROR_BADMAGIC (-31) 379 #define PCRE2_ERROR_BADMODE (-32) 380 #define PCRE2_ERROR_BADOFFSET (-33) 381 #define PCRE2_ERROR_BADOPTION (-34) 382 #define PCRE2_ERROR_BADREPLACEMENT (-35) 383 #define PCRE2_ERROR_BADUTFOFFSET (-36) 384 #define PCRE2_ERROR_CALLOUT (-37) 385 #define PCRE2_ERROR_DFA_BADRESTART (-38) 386 #define PCRE2_ERROR_DFA_RECURSE (-39) 387 #define PCRE2_ERROR_DFA_UCOND (-40) 388 #define PCRE2_ERROR_DFA_UFUNC (-41) 389 #define PCRE2_ERROR_DFA_UITEM (-42) 390 #define PCRE2_ERROR_DFA_WSSIZE (-43) 391 #define PCRE2_ERROR_INTERNAL (-44) 392 #define PCRE2_ERROR_JIT_BADOPTION (-45) 393 #define PCRE2_ERROR_JIT_STACKLIMIT (-46) 394 #define PCRE2_ERROR_MATCHLIMIT (-47) 395 #define PCRE2_ERROR_NOMEMORY (-48) 396 #define PCRE2_ERROR_NOSUBSTRING (-49) 397 #define PCRE2_ERROR_NOUNIQUESUBSTRING (-50) 398 #define PCRE2_ERROR_NULL (-51) 399 #define PCRE2_ERROR_RECURSELOOP (-52) 400 #define PCRE2_ERROR_DEPTHLIMIT (-53) 401 #define PCRE2_ERROR_RECURSIONLIMIT (-53) 402 #define PCRE2_ERROR_UNAVAILABLE (-54) 403 #define PCRE2_ERROR_UNSET (-55) 404 #define PCRE2_ERROR_BADOFFSETLIMIT (-56) 405 #define PCRE2_ERROR_BADREPESCAPE (-57) 406 #define PCRE2_ERROR_REPMISSINGBRACE (-58) 407 #define PCRE2_ERROR_BADSUBSTITUTION (-59) 408 #define PCRE2_ERROR_BADSUBSPATTERN (-60) 409 #define PCRE2_ERROR_TOOMANYREPLACE (-61) 410 #define PCRE2_ERROR_BADSERIALIZEDDATA (-62) 411 #define PCRE2_ERROR_HEAPLIMIT (-63) 412 #define PCRE2_ERROR_CONVERT_SYNTAX (-64) 413 #define PCRE2_ERROR_INTERNAL_DUPMATCH (-65) 414 #define PCRE2_ERROR_DFA_UINVALID_UTF (-66) 415 #define PCRE2_ERROR_INVALIDOFFSET (-67) 420 #define PCRE2_INFO_ALLOPTIONS 0 421 #define PCRE2_INFO_ARGOPTIONS 1 422 #define PCRE2_INFO_BACKREFMAX 2 423 #define PCRE2_INFO_BSR 3 424 #define PCRE2_INFO_CAPTURECOUNT 4 425 #define PCRE2_INFO_FIRSTCODEUNIT 5 426 #define PCRE2_INFO_FIRSTCODETYPE 6 427 #define PCRE2_INFO_FIRSTBITMAP 7 428 #define PCRE2_INFO_HASCRORLF 8 429 #define PCRE2_INFO_JCHANGED 9 430 #define PCRE2_INFO_JITSIZE 10 431 #define PCRE2_INFO_LASTCODEUNIT 11 432 #define PCRE2_INFO_LASTCODETYPE 12 433 #define PCRE2_INFO_MATCHEMPTY 13 434 #define PCRE2_INFO_MATCHLIMIT 14 435 #define PCRE2_INFO_MAXLOOKBEHIND 15 436 #define PCRE2_INFO_MINLENGTH 16 437 #define PCRE2_INFO_NAMECOUNT 17 438 #define PCRE2_INFO_NAMEENTRYSIZE 18 439 #define PCRE2_INFO_NAMETABLE 19 440 #define PCRE2_INFO_NEWLINE 20 441 #define PCRE2_INFO_DEPTHLIMIT 21 442 #define PCRE2_INFO_RECURSIONLIMIT 21 443 #define PCRE2_INFO_SIZE 22 444 #define PCRE2_INFO_HASBACKSLASHC 23 445 #define PCRE2_INFO_FRAMESIZE 24 446 #define PCRE2_INFO_HEAPLIMIT 25 447 #define PCRE2_INFO_EXTRAOPTIONS 26 451 #define PCRE2_CONFIG_BSR 0 452 #define PCRE2_CONFIG_JIT 1 453 #define PCRE2_CONFIG_JITTARGET 2 454 #define PCRE2_CONFIG_LINKSIZE 3 455 #define PCRE2_CONFIG_MATCHLIMIT 4 456 #define PCRE2_CONFIG_NEWLINE 5 457 #define PCRE2_CONFIG_PARENSLIMIT 6 458 #define PCRE2_CONFIG_DEPTHLIMIT 7 459 #define PCRE2_CONFIG_RECURSIONLIMIT 7 460 #define PCRE2_CONFIG_STACKRECURSE 8 461 #define PCRE2_CONFIG_UNICODE 9 462 #define PCRE2_CONFIG_UNICODE_VERSION 10 463 #define PCRE2_CONFIG_VERSION 11 464 #define PCRE2_CONFIG_HEAPLIMIT 12 465 #define PCRE2_CONFIG_NEVER_BACKSLASH_C 13 466 #define PCRE2_CONFIG_COMPILED_WIDTHS 14 467 #define PCRE2_CONFIG_TABLES_LENGTH 15 485 #define PCRE2_SIZE size_t 486 #define PCRE2_SIZE_MAX SIZE_MAX 487 #define PCRE2_ZERO_TERMINATED (~(PCRE2_SIZE)0) 488 #define PCRE2_UNSET (~(PCRE2_SIZE)0) 493 #define PCRE2_TYPES_LIST \ 494 struct pcre2_real_general_context; \ 495 typedef struct pcre2_real_general_context pcre2_general_context; \ 497 struct pcre2_real_compile_context; \ 498 typedef struct pcre2_real_compile_context pcre2_compile_context; \ 500 struct pcre2_real_match_context; \ 501 typedef struct pcre2_real_match_context pcre2_match_context; \ 503 struct pcre2_real_convert_context; \ 504 typedef struct pcre2_real_convert_context pcre2_convert_context; \ 506 struct pcre2_real_code; \ 507 typedef struct pcre2_real_code pcre2_code; \ 509 struct pcre2_real_match_data; \ 510 typedef struct pcre2_real_match_data pcre2_match_data; \ 512 struct pcre2_real_jit_stack; \ 513 typedef struct pcre2_real_jit_stack pcre2_jit_stack; \ 515 typedef pcre2_jit_stack *(*pcre2_jit_callback)(void *); 526 #define PCRE2_CALLOUT_STARTMATCH 0x00000001u 527 #define PCRE2_CALLOUT_BACKTRACK 0x00000002u 529 #define PCRE2_STRUCTURE_LIST \ 530 typedef struct pcre2_callout_block { \ 533 uint32_t callout_number; \ 534 uint32_t capture_top; \ 535 uint32_t capture_last; \ 536 PCRE2_SIZE *offset_vector; \ 538 PCRE2_SPTR subject; \ 539 PCRE2_SIZE subject_length; \ 540 PCRE2_SIZE start_match; \ 541 PCRE2_SIZE current_position; \ 542 PCRE2_SIZE pattern_position; \ 543 PCRE2_SIZE next_item_length; \ 545 PCRE2_SIZE callout_string_offset; \ 546 PCRE2_SIZE callout_string_length; \ 547 PCRE2_SPTR callout_string; \ 549 uint32_t callout_flags; \ 551 } pcre2_callout_block; \ 553 typedef struct pcre2_callout_enumerate_block { \ 556 PCRE2_SIZE pattern_position; \ 557 PCRE2_SIZE next_item_length; \ 558 uint32_t callout_number; \ 559 PCRE2_SIZE callout_string_offset; \ 560 PCRE2_SIZE callout_string_length; \ 561 PCRE2_SPTR callout_string; \ 563 } pcre2_callout_enumerate_block; \ 565 typedef struct pcre2_substitute_callout_block { \ 570 PCRE2_SIZE output_offsets[2]; \ 571 PCRE2_SIZE *ovector; \ 572 uint32_t oveccount; \ 573 uint32_t subscount; \ 575 } pcre2_substitute_callout_block; 582 #define PCRE2_GENERAL_INFO_FUNCTIONS \ 583 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION pcre2_config(uint32_t, void *); 588 #define PCRE2_GENERAL_CONTEXT_FUNCTIONS \ 589 PCRE2_EXP_DECL pcre2_general_context *PCRE2_CALL_CONVENTION \ 590 pcre2_general_context_copy(pcre2_general_context *); \ 591 PCRE2_EXP_DECL pcre2_general_context *PCRE2_CALL_CONVENTION \ 592 pcre2_general_context_create(void *(*)(size_t, void *), \ 593 void (*)(void *, void *), void *); \ 594 PCRE2_EXP_DECL void PCRE2_CALL_CONVENTION \ 595 pcre2_general_context_free(pcre2_general_context *); 597 #define PCRE2_COMPILE_CONTEXT_FUNCTIONS \ 598 PCRE2_EXP_DECL pcre2_compile_context *PCRE2_CALL_CONVENTION \ 599 pcre2_compile_context_copy(pcre2_compile_context *); \ 600 PCRE2_EXP_DECL pcre2_compile_context *PCRE2_CALL_CONVENTION \ 601 pcre2_compile_context_create(pcre2_general_context *);\ 602 PCRE2_EXP_DECL void PCRE2_CALL_CONVENTION \ 603 pcre2_compile_context_free(pcre2_compile_context *); \ 604 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 605 pcre2_set_bsr(pcre2_compile_context *, uint32_t); \ 606 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 607 pcre2_set_character_tables(pcre2_compile_context *, const uint8_t *); \ 608 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 609 pcre2_set_compile_extra_options(pcre2_compile_context *, uint32_t); \ 610 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 611 pcre2_set_max_pattern_length(pcre2_compile_context *, PCRE2_SIZE); \ 612 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 613 pcre2_set_max_pattern_compiled_length(pcre2_compile_context *, PCRE2_SIZE); \ 614 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 615 pcre2_set_max_varlookbehind(pcre2_compile_context *, uint32_t); \ 616 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 617 pcre2_set_newline(pcre2_compile_context *, uint32_t); \ 618 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 619 pcre2_set_parens_nest_limit(pcre2_compile_context *, uint32_t); \ 620 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 621 pcre2_set_compile_recursion_guard(pcre2_compile_context *, \ 622 int (*)(uint32_t, void *), void *); 624 #define PCRE2_MATCH_CONTEXT_FUNCTIONS \ 625 PCRE2_EXP_DECL pcre2_match_context *PCRE2_CALL_CONVENTION \ 626 pcre2_match_context_copy(pcre2_match_context *); \ 627 PCRE2_EXP_DECL pcre2_match_context *PCRE2_CALL_CONVENTION \ 628 pcre2_match_context_create(pcre2_general_context *); \ 629 PCRE2_EXP_DECL void PCRE2_CALL_CONVENTION \ 630 pcre2_match_context_free(pcre2_match_context *); \ 631 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 632 pcre2_set_callout(pcre2_match_context *, \ 633 int (*)(pcre2_callout_block *, void *), void *); \ 634 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 635 pcre2_set_substitute_callout(pcre2_match_context *, \ 636 int (*)(pcre2_substitute_callout_block *, void *), void *); \ 637 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 638 pcre2_set_depth_limit(pcre2_match_context *, uint32_t); \ 639 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 640 pcre2_set_heap_limit(pcre2_match_context *, uint32_t); \ 641 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 642 pcre2_set_match_limit(pcre2_match_context *, uint32_t); \ 643 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 644 pcre2_set_offset_limit(pcre2_match_context *, PCRE2_SIZE); \ 645 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 646 pcre2_set_recursion_limit(pcre2_match_context *, uint32_t); \ 647 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 648 pcre2_set_recursion_memory_management(pcre2_match_context *, \ 649 void *(*)(size_t, void *), void (*)(void *, void *), void *); 651 #define PCRE2_CONVERT_CONTEXT_FUNCTIONS \ 652 PCRE2_EXP_DECL pcre2_convert_context *PCRE2_CALL_CONVENTION \ 653 pcre2_convert_context_copy(pcre2_convert_context *); \ 654 PCRE2_EXP_DECL pcre2_convert_context *PCRE2_CALL_CONVENTION \ 655 pcre2_convert_context_create(pcre2_general_context *); \ 656 PCRE2_EXP_DECL void PCRE2_CALL_CONVENTION \ 657 pcre2_convert_context_free(pcre2_convert_context *); \ 658 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 659 pcre2_set_glob_escape(pcre2_convert_context *, uint32_t); \ 660 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 661 pcre2_set_glob_separator(pcre2_convert_context *, uint32_t); 666 #define PCRE2_COMPILE_FUNCTIONS \ 667 PCRE2_EXP_DECL pcre2_code *PCRE2_CALL_CONVENTION \ 668 pcre2_compile(PCRE2_SPTR, PCRE2_SIZE, uint32_t, int *, PCRE2_SIZE *, \ 669 pcre2_compile_context *); \ 670 PCRE2_EXP_DECL void PCRE2_CALL_CONVENTION \ 671 pcre2_code_free(pcre2_code *); \ 672 PCRE2_EXP_DECL pcre2_code *PCRE2_CALL_CONVENTION \ 673 pcre2_code_copy(const pcre2_code *); \ 674 PCRE2_EXP_DECL pcre2_code *PCRE2_CALL_CONVENTION \ 675 pcre2_code_copy_with_tables(const pcre2_code *); 680 #define PCRE2_PATTERN_INFO_FUNCTIONS \ 681 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 682 pcre2_pattern_info(const pcre2_code *, uint32_t, void *); \ 683 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 684 pcre2_callout_enumerate(const pcre2_code *, \ 685 int (*)(pcre2_callout_enumerate_block *, void *), void *); 690 #define PCRE2_MATCH_FUNCTIONS \ 691 PCRE2_EXP_DECL pcre2_match_data *PCRE2_CALL_CONVENTION \ 692 pcre2_match_data_create(uint32_t, pcre2_general_context *); \ 693 PCRE2_EXP_DECL pcre2_match_data *PCRE2_CALL_CONVENTION \ 694 pcre2_match_data_create_from_pattern(const pcre2_code *, \ 695 pcre2_general_context *); \ 696 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 697 pcre2_dfa_match(const pcre2_code *, PCRE2_SPTR, PCRE2_SIZE, PCRE2_SIZE, \ 698 uint32_t, pcre2_match_data *, pcre2_match_context *, int *, PCRE2_SIZE); \ 699 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 700 pcre2_match(const pcre2_code *, PCRE2_SPTR, PCRE2_SIZE, PCRE2_SIZE, \ 701 uint32_t, pcre2_match_data *, pcre2_match_context *); \ 702 PCRE2_EXP_DECL void PCRE2_CALL_CONVENTION \ 703 pcre2_match_data_free(pcre2_match_data *); \ 704 PCRE2_EXP_DECL PCRE2_SPTR PCRE2_CALL_CONVENTION \ 705 pcre2_get_mark(pcre2_match_data *); \ 706 PCRE2_EXP_DECL PCRE2_SIZE PCRE2_CALL_CONVENTION \ 707 pcre2_get_match_data_size(pcre2_match_data *); \ 708 PCRE2_EXP_DECL PCRE2_SIZE PCRE2_CALL_CONVENTION \ 709 pcre2_get_match_data_heapframes_size(pcre2_match_data *); \ 710 PCRE2_EXP_DECL uint32_t PCRE2_CALL_CONVENTION \ 711 pcre2_get_ovector_count(pcre2_match_data *); \ 712 PCRE2_EXP_DECL PCRE2_SIZE *PCRE2_CALL_CONVENTION \ 713 pcre2_get_ovector_pointer(pcre2_match_data *); \ 714 PCRE2_EXP_DECL PCRE2_SIZE PCRE2_CALL_CONVENTION \ 715 pcre2_get_startchar(pcre2_match_data *); 720 #define PCRE2_SUBSTRING_FUNCTIONS \ 721 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 722 pcre2_substring_copy_byname(pcre2_match_data *, PCRE2_SPTR, PCRE2_UCHAR *, \ 724 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 725 pcre2_substring_copy_bynumber(pcre2_match_data *, uint32_t, PCRE2_UCHAR *, \ 727 PCRE2_EXP_DECL void PCRE2_CALL_CONVENTION \ 728 pcre2_substring_free(PCRE2_UCHAR *); \ 729 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 730 pcre2_substring_get_byname(pcre2_match_data *, PCRE2_SPTR, PCRE2_UCHAR **, \ 732 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 733 pcre2_substring_get_bynumber(pcre2_match_data *, uint32_t, PCRE2_UCHAR **, \ 735 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 736 pcre2_substring_length_byname(pcre2_match_data *, PCRE2_SPTR, PCRE2_SIZE *); \ 737 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 738 pcre2_substring_length_bynumber(pcre2_match_data *, uint32_t, PCRE2_SIZE *); \ 739 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 740 pcre2_substring_nametable_scan(const pcre2_code *, PCRE2_SPTR, PCRE2_SPTR *, \ 742 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 743 pcre2_substring_number_from_name(const pcre2_code *, PCRE2_SPTR); \ 744 PCRE2_EXP_DECL void PCRE2_CALL_CONVENTION \ 745 pcre2_substring_list_free(PCRE2_UCHAR **); \ 746 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 747 pcre2_substring_list_get(pcre2_match_data *, PCRE2_UCHAR ***, PCRE2_SIZE **); 751 #define PCRE2_SERIALIZE_FUNCTIONS \ 752 PCRE2_EXP_DECL int32_t PCRE2_CALL_CONVENTION \ 753 pcre2_serialize_encode(const pcre2_code **, int32_t, uint8_t **, \ 754 PCRE2_SIZE *, pcre2_general_context *); \ 755 PCRE2_EXP_DECL int32_t PCRE2_CALL_CONVENTION \ 756 pcre2_serialize_decode(pcre2_code **, int32_t, const uint8_t *, \ 757 pcre2_general_context *); \ 758 PCRE2_EXP_DECL int32_t PCRE2_CALL_CONVENTION \ 759 pcre2_serialize_get_number_of_codes(const uint8_t *); \ 760 PCRE2_EXP_DECL void PCRE2_CALL_CONVENTION \ 761 pcre2_serialize_free(uint8_t *); 766 #define PCRE2_SUBSTITUTE_FUNCTION \ 767 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 768 pcre2_substitute(const pcre2_code *, PCRE2_SPTR, PCRE2_SIZE, PCRE2_SIZE, \ 769 uint32_t, pcre2_match_data *, pcre2_match_context *, PCRE2_SPTR, \ 770 PCRE2_SIZE, PCRE2_UCHAR *, PCRE2_SIZE *); 775 #define PCRE2_CONVERT_FUNCTIONS \ 776 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 777 pcre2_pattern_convert(PCRE2_SPTR, PCRE2_SIZE, uint32_t, PCRE2_UCHAR **, \ 778 PCRE2_SIZE *, pcre2_convert_context *); \ 779 PCRE2_EXP_DECL void PCRE2_CALL_CONVENTION \ 780 pcre2_converted_pattern_free(PCRE2_UCHAR *); 785 #define PCRE2_JIT_FUNCTIONS \ 786 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 787 pcre2_jit_compile(pcre2_code *, uint32_t); \ 788 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 789 pcre2_jit_match(const pcre2_code *, PCRE2_SPTR, PCRE2_SIZE, PCRE2_SIZE, \ 790 uint32_t, pcre2_match_data *, pcre2_match_context *); \ 791 PCRE2_EXP_DECL void PCRE2_CALL_CONVENTION \ 792 pcre2_jit_free_unused_memory(pcre2_general_context *); \ 793 PCRE2_EXP_DECL pcre2_jit_stack *PCRE2_CALL_CONVENTION \ 794 pcre2_jit_stack_create(size_t, size_t, pcre2_general_context *); \ 795 PCRE2_EXP_DECL void PCRE2_CALL_CONVENTION \ 796 pcre2_jit_stack_assign(pcre2_match_context *, pcre2_jit_callback, void *); \ 797 PCRE2_EXP_DECL void PCRE2_CALL_CONVENTION \ 798 pcre2_jit_stack_free(pcre2_jit_stack *); 803 #define PCRE2_OTHER_FUNCTIONS \ 804 PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \ 805 pcre2_get_error_message(int, PCRE2_UCHAR *, PCRE2_SIZE); \ 806 PCRE2_EXP_DECL const uint8_t *PCRE2_CALL_CONVENTION \ 807 pcre2_maketables(pcre2_general_context *); \ 808 PCRE2_EXP_DECL void PCRE2_CALL_CONVENTION \ 809 pcre2_maketables_free(pcre2_general_context *, const uint8_t *); 818 #define PCRE2_JOIN(a,b) a ## b 819 #define PCRE2_GLUE(a,b) PCRE2_JOIN(a,b) 820 #define PCRE2_SUFFIX(a) PCRE2_GLUE(a,PCRE2_LOCAL_WIDTH) 825 #define PCRE2_UCHAR PCRE2_SUFFIX(PCRE2_UCHAR) 826 #define PCRE2_SPTR PCRE2_SUFFIX(PCRE2_SPTR) 828 #define pcre2_code PCRE2_SUFFIX(pcre2_code_) 829 #define pcre2_jit_callback PCRE2_SUFFIX(pcre2_jit_callback_) 830 #define pcre2_jit_stack PCRE2_SUFFIX(pcre2_jit_stack_) 832 #define pcre2_real_code PCRE2_SUFFIX(pcre2_real_code_) 833 #define pcre2_real_general_context PCRE2_SUFFIX(pcre2_real_general_context_) 834 #define pcre2_real_compile_context PCRE2_SUFFIX(pcre2_real_compile_context_) 835 #define pcre2_real_convert_context PCRE2_SUFFIX(pcre2_real_convert_context_) 836 #define pcre2_real_match_context PCRE2_SUFFIX(pcre2_real_match_context_) 837 #define pcre2_real_jit_stack PCRE2_SUFFIX(pcre2_real_jit_stack_) 838 #define pcre2_real_match_data PCRE2_SUFFIX(pcre2_real_match_data_) 843 #define pcre2_callout_block PCRE2_SUFFIX(pcre2_callout_block_) 844 #define pcre2_callout_enumerate_block PCRE2_SUFFIX(pcre2_callout_enumerate_block_) 845 #define pcre2_substitute_callout_block PCRE2_SUFFIX(pcre2_substitute_callout_block_) 846 #define pcre2_general_context PCRE2_SUFFIX(pcre2_general_context_) 847 #define pcre2_compile_context PCRE2_SUFFIX(pcre2_compile_context_) 848 #define pcre2_convert_context PCRE2_SUFFIX(pcre2_convert_context_) 849 #define pcre2_match_context PCRE2_SUFFIX(pcre2_match_context_) 850 #define pcre2_match_data PCRE2_SUFFIX(pcre2_match_data_) 855 #define pcre2_callout_enumerate PCRE2_SUFFIX(pcre2_callout_enumerate_) 856 #define pcre2_code_copy PCRE2_SUFFIX(pcre2_code_copy_) 857 #define pcre2_code_copy_with_tables PCRE2_SUFFIX(pcre2_code_copy_with_tables_) 858 #define pcre2_code_free PCRE2_SUFFIX(pcre2_code_free_) 859 #define pcre2_compile PCRE2_SUFFIX(pcre2_compile_) 860 #define pcre2_compile_context_copy PCRE2_SUFFIX(pcre2_compile_context_copy_) 861 #define pcre2_compile_context_create PCRE2_SUFFIX(pcre2_compile_context_create_) 862 #define pcre2_compile_context_free PCRE2_SUFFIX(pcre2_compile_context_free_) 863 #define pcre2_config PCRE2_SUFFIX(pcre2_config_) 864 #define pcre2_convert_context_copy PCRE2_SUFFIX(pcre2_convert_context_copy_) 865 #define pcre2_convert_context_create PCRE2_SUFFIX(pcre2_convert_context_create_) 866 #define pcre2_convert_context_free PCRE2_SUFFIX(pcre2_convert_context_free_) 867 #define pcre2_converted_pattern_free PCRE2_SUFFIX(pcre2_converted_pattern_free_) 868 #define pcre2_dfa_match PCRE2_SUFFIX(pcre2_dfa_match_) 869 #define pcre2_general_context_copy PCRE2_SUFFIX(pcre2_general_context_copy_) 870 #define pcre2_general_context_create PCRE2_SUFFIX(pcre2_general_context_create_) 871 #define pcre2_general_context_free PCRE2_SUFFIX(pcre2_general_context_free_) 872 #define pcre2_get_error_message PCRE2_SUFFIX(pcre2_get_error_message_) 873 #define pcre2_get_mark PCRE2_SUFFIX(pcre2_get_mark_) 874 #define pcre2_get_match_data_heapframes_size PCRE2_SUFFIX(pcre2_get_match_data_heapframes_size_) 875 #define pcre2_get_match_data_size PCRE2_SUFFIX(pcre2_get_match_data_size_) 876 #define pcre2_get_ovector_pointer PCRE2_SUFFIX(pcre2_get_ovector_pointer_) 877 #define pcre2_get_ovector_count PCRE2_SUFFIX(pcre2_get_ovector_count_) 878 #define pcre2_get_startchar PCRE2_SUFFIX(pcre2_get_startchar_) 879 #define pcre2_jit_compile PCRE2_SUFFIX(pcre2_jit_compile_) 880 #define pcre2_jit_match PCRE2_SUFFIX(pcre2_jit_match_) 881 #define pcre2_jit_free_unused_memory PCRE2_SUFFIX(pcre2_jit_free_unused_memory_) 882 #define pcre2_jit_stack_assign PCRE2_SUFFIX(pcre2_jit_stack_assign_) 883 #define pcre2_jit_stack_create PCRE2_SUFFIX(pcre2_jit_stack_create_) 884 #define pcre2_jit_stack_free PCRE2_SUFFIX(pcre2_jit_stack_free_) 885 #define pcre2_maketables PCRE2_SUFFIX(pcre2_maketables_) 886 #define pcre2_maketables_free PCRE2_SUFFIX(pcre2_maketables_free_) 887 #define pcre2_match PCRE2_SUFFIX(pcre2_match_) 888 #define pcre2_match_context_copy PCRE2_SUFFIX(pcre2_match_context_copy_) 889 #define pcre2_match_context_create PCRE2_SUFFIX(pcre2_match_context_create_) 890 #define pcre2_match_context_free PCRE2_SUFFIX(pcre2_match_context_free_) 891 #define pcre2_match_data_create PCRE2_SUFFIX(pcre2_match_data_create_) 892 #define pcre2_match_data_create_from_pattern PCRE2_SUFFIX(pcre2_match_data_create_from_pattern_) 893 #define pcre2_match_data_free PCRE2_SUFFIX(pcre2_match_data_free_) 894 #define pcre2_pattern_convert PCRE2_SUFFIX(pcre2_pattern_convert_) 895 #define pcre2_pattern_info PCRE2_SUFFIX(pcre2_pattern_info_) 896 #define pcre2_serialize_decode PCRE2_SUFFIX(pcre2_serialize_decode_) 897 #define pcre2_serialize_encode PCRE2_SUFFIX(pcre2_serialize_encode_) 898 #define pcre2_serialize_free PCRE2_SUFFIX(pcre2_serialize_free_) 899 #define pcre2_serialize_get_number_of_codes PCRE2_SUFFIX(pcre2_serialize_get_number_of_codes_) 900 #define pcre2_set_bsr PCRE2_SUFFIX(pcre2_set_bsr_) 901 #define pcre2_set_callout PCRE2_SUFFIX(pcre2_set_callout_) 902 #define pcre2_set_character_tables PCRE2_SUFFIX(pcre2_set_character_tables_) 903 #define pcre2_set_compile_extra_options PCRE2_SUFFIX(pcre2_set_compile_extra_options_) 904 #define pcre2_set_compile_recursion_guard PCRE2_SUFFIX(pcre2_set_compile_recursion_guard_) 905 #define pcre2_set_depth_limit PCRE2_SUFFIX(pcre2_set_depth_limit_) 906 #define pcre2_set_glob_escape PCRE2_SUFFIX(pcre2_set_glob_escape_) 907 #define pcre2_set_glob_separator PCRE2_SUFFIX(pcre2_set_glob_separator_) 908 #define pcre2_set_heap_limit PCRE2_SUFFIX(pcre2_set_heap_limit_) 909 #define pcre2_set_match_limit PCRE2_SUFFIX(pcre2_set_match_limit_) 910 #define pcre2_set_max_varlookbehind PCRE2_SUFFIX(pcre2_set_max_varlookbehind_) 911 #define pcre2_set_max_pattern_length PCRE2_SUFFIX(pcre2_set_max_pattern_length_) 912 #define pcre2_set_max_pattern_compiled_length PCRE2_SUFFIX(pcre2_set_max_pattern_compiled_length_) 913 #define pcre2_set_newline PCRE2_SUFFIX(pcre2_set_newline_) 914 #define pcre2_set_parens_nest_limit PCRE2_SUFFIX(pcre2_set_parens_nest_limit_) 915 #define pcre2_set_offset_limit PCRE2_SUFFIX(pcre2_set_offset_limit_) 916 #define pcre2_set_substitute_callout PCRE2_SUFFIX(pcre2_set_substitute_callout_) 917 #define pcre2_substitute PCRE2_SUFFIX(pcre2_substitute_) 918 #define pcre2_substring_copy_byname PCRE2_SUFFIX(pcre2_substring_copy_byname_) 919 #define pcre2_substring_copy_bynumber PCRE2_SUFFIX(pcre2_substring_copy_bynumber_) 920 #define pcre2_substring_free PCRE2_SUFFIX(pcre2_substring_free_) 921 #define pcre2_substring_get_byname PCRE2_SUFFIX(pcre2_substring_get_byname_) 922 #define pcre2_substring_get_bynumber PCRE2_SUFFIX(pcre2_substring_get_bynumber_) 923 #define pcre2_substring_length_byname PCRE2_SUFFIX(pcre2_substring_length_byname_) 924 #define pcre2_substring_length_bynumber PCRE2_SUFFIX(pcre2_substring_length_bynumber_) 925 #define pcre2_substring_list_get PCRE2_SUFFIX(pcre2_substring_list_get_) 926 #define pcre2_substring_list_free PCRE2_SUFFIX(pcre2_substring_list_free_) 927 #define pcre2_substring_nametable_scan PCRE2_SUFFIX(pcre2_substring_nametable_scan_) 928 #define pcre2_substring_number_from_name PCRE2_SUFFIX(pcre2_substring_number_from_name_) 931 #define pcre2_set_recursion_limit PCRE2_SUFFIX(pcre2_set_recursion_limit_) 934 #define pcre2_set_recursion_memory_management PCRE2_SUFFIX(pcre2_set_recursion_memory_management_) 939 #define PCRE2_TYPES_STRUCTURES_AND_FUNCTIONS \ 941 PCRE2_STRUCTURE_LIST \ 942 PCRE2_GENERAL_INFO_FUNCTIONS \ 943 PCRE2_GENERAL_CONTEXT_FUNCTIONS \ 944 PCRE2_COMPILE_CONTEXT_FUNCTIONS \ 945 PCRE2_CONVERT_CONTEXT_FUNCTIONS \ 946 PCRE2_CONVERT_FUNCTIONS \ 947 PCRE2_MATCH_CONTEXT_FUNCTIONS \ 948 PCRE2_COMPILE_FUNCTIONS \ 949 PCRE2_PATTERN_INFO_FUNCTIONS \ 950 PCRE2_MATCH_FUNCTIONS \ 951 PCRE2_SUBSTRING_FUNCTIONS \ 952 PCRE2_SERIALIZE_FUNCTIONS \ 953 PCRE2_SUBSTITUTE_FUNCTION \ 954 PCRE2_JIT_FUNCTIONS \ 955 PCRE2_OTHER_FUNCTIONS 957 #define PCRE2_LOCAL_WIDTH 8 959 #undef PCRE2_LOCAL_WIDTH 961 #define PCRE2_LOCAL_WIDTH 16 963 #undef PCRE2_LOCAL_WIDTH 965 #define PCRE2_LOCAL_WIDTH 32 967 #undef PCRE2_LOCAL_WIDTH 971 #undef PCRE2_TYPES_LIST 972 #undef PCRE2_STRUCTURE_LIST 973 #undef PCRE2_GENERAL_INFO_FUNCTIONS 974 #undef PCRE2_GENERAL_CONTEXT_FUNCTIONS 975 #undef PCRE2_COMPILE_CONTEXT_FUNCTIONS 976 #undef PCRE2_CONVERT_CONTEXT_FUNCTIONS 977 #undef PCRE2_MATCH_CONTEXT_FUNCTIONS 978 #undef PCRE2_COMPILE_FUNCTIONS 979 #undef PCRE2_PATTERN_INFO_FUNCTIONS 980 #undef PCRE2_MATCH_FUNCTIONS 981 #undef PCRE2_SUBSTRING_FUNCTIONS 982 #undef PCRE2_SERIALIZE_FUNCTIONS 983 #undef PCRE2_SUBSTITUTE_FUNCTION 984 #undef PCRE2_JIT_FUNCTIONS 985 #undef PCRE2_OTHER_FUNCTIONS 986 #undef PCRE2_TYPES_STRUCTURES_AND_FUNCTIONS 993 #ifndef PCRE2_CODE_UNIT_WIDTH 994 #error PCRE2_CODE_UNIT_WIDTH must be defined before including pcre2.h. 995 #error Use 8, 16, or 32; or 0 for a multi-width application. 997 #if PCRE2_CODE_UNIT_WIDTH == 8 || \ 998 PCRE2_CODE_UNIT_WIDTH == 16 || \ 999 PCRE2_CODE_UNIT_WIDTH == 32 1000 #define PCRE2_SUFFIX(a) PCRE2_GLUE(a, PCRE2_CODE_UNIT_WIDTH) 1001 #elif PCRE2_CODE_UNIT_WIDTH == 0 1004 #define PCRE2_SUFFIX(a) a 1006 #error PCRE2_CODE_UNIT_WIDTH must be 0, 8, 16, or 32.const PCRE2_UCHAR8 * PCRE2_SPTR8
const PCRE2_UCHAR16 * PCRE2_SPTR16
const PCRE2_UCHAR32 * PCRE2_SPTR32
#define PCRE2_TYPES_STRUCTURES_AND_FUNCTIONS
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4