summaryrefslogtreecommitdiff
path: root/src/sp_config.h
diff options
context:
space:
mode:
authorjvoisin2017-10-09 11:54:31 +0200
committerGitHub2017-10-09 11:54:31 +0200
commit1602780f3c85ca127c77d28ae93a4e2a4eeae180 (patch)
tree1200952d6f20b0dbc94d6252dcdaba5be0bad353 /src/sp_config.h
parent7234fdbb0cb0dd45ed1d6e7814c91e596126ee25 (diff)
Better hooking of language constructs (#26)
* Vastly improve the support of language construct hooking
Diffstat (limited to 'src/sp_config.h')
-rw-r--r--src/sp_config.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/sp_config.h b/src/sp_config.h
index d5cd1dc..e51d6cc 100644
--- a/src/sp_config.h
+++ b/src/sp_config.h
@@ -105,8 +105,9 @@ typedef struct {
105} sp_config_disabled_functions; 105} sp_config_disabled_functions;
106 106
107typedef struct { 107typedef struct {
108 sp_node_t *regexp_inclusion; // list of regexp for inclusion 108 sp_node_t *construct_include; // list of rules for `(include|require)_(once)?`
109} sp_config_regexp_inclusion; 109 sp_node_t *construct_echo;
110} sp_config_disabled_constructs;
110 111
111typedef struct { 112typedef struct {
112 char *script; 113 char *script;
@@ -126,7 +127,7 @@ typedef struct {
126 sp_config_auto_cookie_secure *config_auto_cookie_secure; 127 sp_config_auto_cookie_secure *config_auto_cookie_secure;
127 sp_config_global_strict *config_global_strict; 128 sp_config_global_strict *config_global_strict;
128 sp_config_disable_xxe *config_disable_xxe; 129 sp_config_disable_xxe *config_disable_xxe;
129 sp_config_regexp_inclusion *config_regexp_inclusion; 130 sp_config_disabled_constructs *config_disabled_constructs;
130} sp_config; 131} sp_config;
131 132
132typedef struct { 133typedef struct {