diff options
author | Edward Rudd <urkle@outoforder.cc> | 2008-10-24 13:55:48 (GMT) |
---|---|---|
committer | Edward Rudd <urkle@outoforder.cc> | 2008-10-24 13:55:48 (GMT) |
commit | 19bbdd68a491721dd4aeff7cacea51148ce3a9b9 (patch) | |
tree | 4e143a77f879f7baf65797c08a4e3a489b4ac755 /utility/config.h | |
parent | 50af087b9f3831285869dc8d8bf91cc3e6d5169a (diff) |
add logging function
added @todo tags for what needs to be finished
Diffstat (limited to 'utility/config.h')
-rw-r--r-- | utility/config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/utility/config.h b/utility/config.h index 0e80856..611e9de 100644 --- a/utility/config.h +++ b/utility/config.h | |||
@@ -25,6 +25,7 @@ struct config_t { | |||
25 | loglevel_e loglevel; | 25 | loglevel_e loglevel; |
26 | /** error_log */ | 26 | /** error_log */ |
27 | apr_file_t *errorlog_fp; | 27 | apr_file_t *errorlog_fp; |
28 | apr_pool_t *errorlog_p; | ||
28 | 29 | ||
29 | /** input directory of log files */ | 30 | /** input directory of log files */ |
30 | const char *input_dir; | 31 | const char *input_dir; |
@@ -135,6 +136,11 @@ void config_init(apr_pool_t *p); | |||
135 | void config_dump(config_t *cfg); | 136 | void config_dump(config_t *cfg); |
136 | 137 | ||
137 | /** | 138 | /** |
139 | * Checks the configuration to ensure all the required settings are set | ||
140 | */ | ||
141 | apr_status_t config_check(config_t *cfg); | ||
142 | |||
143 | /** | ||
138 | * Creates the default configuration | 144 | * Creates the default configuration |
139 | */ | 145 | */ |
140 | config_t *config_create(apr_pool_t *p); | 146 | config_t *config_create(apr_pool_t *p); |