1PCRE2_SET_CALLOUT(3) Library Functions Manual PCRE2_SET_CALLOUT(3)
2
3
4
6 PCRE2 - Perl-compatible regular expressions (revised API)
7
9
10 #include <pcre2.h>
11
12 int pcre2_set_callout(pcre2_match_context *mcontext,
13 int (*callout_function)(pcre2_callout_block *),
14 void *callout_data);
15
17
18 This function sets the callout fields in a match context (the first
19 argument). The second argument specifies a callout function, and the
20 third argument is an opaque data item that is passed to it. The result
21 of this function is always zero.
22
23 There is a complete description of the PCRE2 native API in the pcre2api
24 page and a description of the POSIX API in the pcre2posix page.
25
26
27
28PCRE2 10.30 21 March 2017 PCRE2_SET_CALLOUT(3)