summaryrefslogtreecommitdiff
path: root/src/sp_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp_config.h')
-rw-r--r--src/sp_config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sp_config.h b/src/sp_config.h
index e537ec2..b44960f 100644
--- a/src/sp_config.h
+++ b/src/sp_config.h
@@ -66,6 +66,11 @@ typedef struct {
66} sp_cookie; 66} sp_cookie;
67 67
68typedef struct { 68typedef struct {
69 bool encrypt;
70 bool simulation;
71} sp_config_session;
72
73typedef struct {
69 bool enable; 74 bool enable;
70 bool simulation; 75 bool simulation;
71 char *dump; 76 char *dump;
@@ -158,6 +163,7 @@ typedef struct {
158 sp_config_disable_xxe *config_disable_xxe; 163 sp_config_disable_xxe *config_disable_xxe;
159 sp_config_disabled_constructs *config_disabled_constructs; 164 sp_config_disabled_constructs *config_disabled_constructs;
160 sp_config_eval *config_eval; 165 sp_config_eval *config_eval;
166 sp_config_session *config_session;
161} sp_config; 167} sp_config;
162 168
163typedef struct { 169typedef struct {
@@ -175,6 +181,7 @@ typedef struct {
175 181
176#define SP_TOKEN_AUTO_COOKIE_SECURE ".auto_cookie_secure" 182#define SP_TOKEN_AUTO_COOKIE_SECURE ".auto_cookie_secure"
177#define SP_TOKEN_COOKIE_ENCRYPTION ".cookie" 183#define SP_TOKEN_COOKIE_ENCRYPTION ".cookie"
184#define SP_TOKEN_SESSION_ENCRYPTION ".session"
178#define SP_TOKEN_DISABLE_FUNC ".disable_function" 185#define SP_TOKEN_DISABLE_FUNC ".disable_function"
179#define SP_TOKEN_GLOBAL ".global" 186#define SP_TOKEN_GLOBAL ".global"
180#define SP_TOKEN_GLOBAL_STRICT ".global_strict" 187#define SP_TOKEN_GLOBAL_STRICT ".global_strict"