diff options
Diffstat (limited to 'src/sp_config.h')
| -rw-r--r-- | src/sp_config.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sp_config.h b/src/sp_config.h index 9d58359..4d85cf2 100644 --- a/src/sp_config.h +++ b/src/sp_config.h | |||
| @@ -55,6 +55,10 @@ typedef struct { | |||
| 55 | 55 | ||
| 56 | typedef struct { | 56 | typedef struct { |
| 57 | bool enable; | 57 | bool enable; |
| 58 | } sp_config_curl_verify_certificates; | ||
| 59 | |||
| 60 | typedef struct { | ||
| 61 | bool enable; | ||
| 58 | } sp_config_random; | 62 | } sp_config_random; |
| 59 | 63 | ||
| 60 | typedef struct { | 64 | typedef struct { |
| @@ -162,6 +166,7 @@ typedef struct { | |||
| 162 | 166 | ||
| 163 | typedef struct { | 167 | typedef struct { |
| 164 | sp_config_random *config_random; | 168 | sp_config_random *config_random; |
| 169 | sp_config_curl_verify_certificates *config_curl_verify_certificates; | ||
| 165 | sp_config_sloppy *config_sloppy; | 170 | sp_config_sloppy *config_sloppy; |
| 166 | sp_config_unserialize *config_unserialize; | 171 | sp_config_unserialize *config_unserialize; |
| 167 | sp_config_readonly_exec *config_readonly_exec; | 172 | sp_config_readonly_exec *config_readonly_exec; |
| @@ -264,6 +269,9 @@ typedef struct { | |||
| 264 | // upload_validator | 269 | // upload_validator |
| 265 | #define SP_TOKEN_UPLOAD_SCRIPT ".script(" | 270 | #define SP_TOKEN_UPLOAD_SCRIPT ".script(" |
| 266 | 271 | ||
| 272 | // cURL certificate verify | ||
| 273 | # define SP_TOKEN_CURL_VERIFY_CERTIFICATES ".curl_verify_certificates" | ||
| 274 | |||
| 267 | #define SP_TOKEN_LIST ".list(" | 275 | #define SP_TOKEN_LIST ".list(" |
| 268 | 276 | ||
| 269 | int sp_parse_config(const char *); | 277 | int sp_parse_config(const char *); |
