summaryrefslogtreecommitdiff
path: root/src/sp_config.h
diff options
context:
space:
mode:
authorjvoisin2018-02-05 17:27:45 +0100
committerGitHub2018-02-05 17:27:45 +0100
commit4cbca117a3f2ef2d6695504970378ec4c483d19f (patch)
tree2fe9d10ddf5fdff1c1c0f4cf0cf7cbb16d274e27 /src/sp_config.h
parentf0a956e825a83ff3a58d4714a92fbb945f6c8841 (diff)
Compatibility layer for pcre2
This should close #129
Diffstat (limited to 'src/sp_config.h')
-rw-r--r--src/sp_config.h14
1 files changed, 7 insertions, 7 deletions
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 {
59 enum samesite_type { strict = 1, lax = 2 } samesite; 59 enum samesite_type { strict = 1, lax = 2 } samesite;
60 bool encrypt; 60 bool encrypt;
61 char *name; 61 char *name;
62 pcre *name_r; 62 sp_pcre *name_r;
63 bool simulation; 63 bool simulation;
64} sp_cookie; 64} sp_cookie;
65 65
@@ -72,29 +72,29 @@ typedef struct {
72 char *textual_representation; 72 char *textual_representation;
73 73
74 char *filename; 74 char *filename;
75 pcre *r_filename; 75 sp_pcre *r_filename;
76 76
77 char *function; 77 char *function;
78 pcre *r_function; 78 sp_pcre *r_function;
79 sp_list_node *functions_list; 79 sp_list_node *functions_list;
80 80
81 char *hash; 81 char *hash;
82 int simulation; 82 int simulation;
83 83
84 sp_tree *param; 84 sp_tree *param;
85 pcre *r_param; 85 sp_pcre *r_param;
86 sp_php_type param_type; 86 sp_php_type param_type;
87 int pos; 87 int pos;
88 unsigned int line; 88 unsigned int line;
89 89
90 char *ret; 90 char *ret;
91 pcre *r_ret; 91 sp_pcre *r_ret;
92 sp_php_type ret_type; 92 sp_php_type ret_type;
93 93
94 pcre *value_r; 94 sp_pcre *value_r;
95 char *value; 95 char *value;
96 96
97 pcre *r_key; 97 sp_pcre *r_key;
98 char *key; 98 char *key;
99 99
100 char *dump; 100 char *dump;