summaryrefslogtreecommitdiff
path: root/src/sp_config.h
diff options
context:
space:
mode:
authorBen Fuhrmannek2022-02-05 12:22:13 +0100
committerBen Fuhrmannek2022-02-05 12:22:13 +0100
commit323f818a6ce33d021bc0a6d34064598917e68c91 (patch)
tree474200051e6e908489ea8d23a58fc60464ea9492 /src/sp_config.h
parentdece0e45b7f66cc51bcbe590240eab3f82da900c (diff)
introduced sp_regexp / store original regex
Diffstat (limited to 'src/sp_config.h')
-rw-r--r--src/sp_config.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/sp_config.h b/src/sp_config.h
index 1a891c1..6d48240 100644
--- a/src/sp_config.h
+++ b/src/sp_config.h
@@ -63,7 +63,7 @@ typedef struct {
63 enum samesite_type { strict = 1, lax = 2 } samesite; 63 enum samesite_type { strict = 1, lax = 2 } samesite;
64 bool encrypt; 64 bool encrypt;
65 zend_string *name; 65 zend_string *name;
66 sp_pcre *name_r; 66 sp_regexp *name_r;
67 bool simulation; 67 bool simulation;
68} sp_cookie; 68} sp_cookie;
69 69
@@ -91,29 +91,29 @@ typedef struct {
91 zend_string *textual_representation; 91 zend_string *textual_representation;
92 92
93 zend_string *filename; 93 zend_string *filename;
94 sp_pcre *r_filename; 94 sp_regexp *r_filename;
95 95
96 zend_string *function; 96 zend_string *function;
97 sp_pcre *r_function; 97 sp_regexp *r_function;
98 sp_list_node *functions_list; 98 sp_list_node *functions_list;
99 99
100 zend_string *hash; 100 zend_string *hash;
101 int simulation; 101 int simulation;
102 102
103 sp_tree *param; 103 sp_tree *param;
104 sp_pcre *r_param; 104 sp_regexp *r_param;
105 sp_php_type param_type; 105 sp_php_type param_type;
106 int pos; 106 int pos;
107 unsigned int line; 107 unsigned int line;
108 108
109 sp_pcre *r_ret; 109 sp_regexp *r_ret;
110 zend_string *ret; 110 zend_string *ret;
111 sp_php_type ret_type; 111 sp_php_type ret_type;
112 112
113 sp_pcre *r_value; 113 sp_regexp *r_value;
114 zend_string *value; 114 zend_string *value;
115 115
116 sp_pcre *r_key; 116 sp_regexp *r_key;
117 zend_string *key; 117 zend_string *key;
118 118
119 zend_string *dump; 119 zend_string *dump;
@@ -157,7 +157,7 @@ typedef struct {
157 sp_ini_permission access; 157 sp_ini_permission access;
158 zend_string *min; 158 zend_string *min;
159 zend_string *max; 159 zend_string *max;
160 sp_pcre *regexp; 160 sp_regexp *regexp;
161 zend_string *msg; 161 zend_string *msg;
162 zend_string *set; 162 zend_string *set;
163 bool allow_null; 163 bool allow_null;