X-Git-Url: http://www.privoxy.org/gitweb/%40user-manual%40%40actions-help-prefix%40HIDE-CONTENT-DISPOSITION?a=blobdiff_plain;ds=sidebyside;f=urlmatch.h;h=8643aa4e71b921323aafd924656657ce3b90b93c;hb=53748ca8ca3c893025be34dd4f104546fcbd0602;hp=315e8b24836a7edb017310161ea10bbbef534d96;hpb=70e904f66cfd8198f4e7325d0fb06405dd2f5038;p=privoxy.git diff --git a/urlmatch.h b/urlmatch.h index 315e8b24..8643aa4e 100644 --- a/urlmatch.h +++ b/urlmatch.h @@ -50,6 +50,10 @@ extern int url_requires_percent_encoding(const char *url); extern int url_match(const struct pattern_spec *pattern, const struct http_request *http); +#ifdef HAVE_PCRE2 +extern int pcre2_pattern_matches(const pcre2_code *pattern, const char *string); +#endif + extern jb_err create_pattern_spec(struct pattern_spec *url, char *buf); extern void free_pattern_spec(struct pattern_spec *url); extern int match_portlist(const char *portlist, int port);