From 4cbca117a3f2ef2d6695504970378ec4c483d19f Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 5 Feb 2018 17:27:45 +0100 Subject: Compatibility layer for pcre2 This should close #129--- src/sp_config.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/sp_config.h') diff --git a/src/sp_config.h b/src/sp_config.h index 25963f1..75ee83d 100644 --- a/src/sp_config.h +++ b/src/sp_config.h @@ -59,7 +59,7 @@ typedef struct { enum samesite_type { strict = 1, lax = 2 } samesite; bool encrypt; char *name; - pcre *name_r; + sp_pcre *name_r; bool simulation; } sp_cookie; @@ -72,29 +72,29 @@ typedef struct { char *textual_representation; char *filename; - pcre *r_filename; + sp_pcre *r_filename; char *function; - pcre *r_function; + sp_pcre *r_function; sp_list_node *functions_list; char *hash; int simulation; sp_tree *param; - pcre *r_param; + sp_pcre *r_param; sp_php_type param_type; int pos; unsigned int line; char *ret; - pcre *r_ret; + sp_pcre *r_ret; sp_php_type ret_type; - pcre *value_r; + sp_pcre *value_r; char *value; - pcre *r_key; + sp_pcre *r_key; char *key; char *dump; -- cgit v1.3