summaryrefslogtreecommitdiff
path: root/src/sp_config.h
diff options
context:
space:
mode:
authorjvoisin2025-10-24 23:50:18 +0200
committerjvoisin2025-10-24 23:55:13 +0200
commit6ea4278a512bc9f1f816844222e65a4ea670db8e (patch)
tree8c645390d3ad5202e3a894f9f6779f4cb590b02e /src/sp_config.h
parenta167c4d23feb03e6c5b53f41724bbfcb813bf04b (diff)
feat(log): add the possibility to log to a filelog2file
Diffstat (limited to 'src/sp_config.h')
-rw-r--r--src/sp_config.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/sp_config.h b/src/sp_config.h
index 6bfb009..8886bc6 100644
--- a/src/sp_config.h
+++ b/src/sp_config.h
@@ -19,10 +19,15 @@ typedef enum {
19 SP_PHP_TYPE_REFERENCE = IS_REFERENCE 19 SP_PHP_TYPE_REFERENCE = IS_REFERENCE
20} sp_php_type; 20} sp_php_type;
21 21
22typedef enum { SP_LOG_ZEND = 0, SP_LOG_SYSLOG = 1 } sp_log_media;
23 22
24typedef enum { SP_INI_UNSET = 0, SP_INI_READONLY = 1, SP_INI_READWRITE = -1 } sp_ini_permission; 23typedef enum { SP_INI_UNSET = 0, SP_INI_READONLY = 1, SP_INI_READWRITE = -1 } sp_ini_permission;
25 24
25typedef enum { SP_LOG_ZEND = 0, SP_LOG_SYSLOG = 1, SP_LOG_FILE = 2 } sp_log_media_type;
26typedef struct {
27 sp_log_media_type type;
28 char* path;
29} sp_config_log;
30
26typedef struct { 31typedef struct {
27 int ip_version; 32 int ip_version;
28 union { 33 union {