summaryrefslogtreecommitdiffstatsabout
path: root/utility/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'utility/config.h')
-rw-r--r--utility/config.h6
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);
135void config_dump(config_t *cfg); 136void config_dump(config_t *cfg);
136 137
137/** 138/**
139 * Checks the configuration to ensure all the required settings are set
140 */
141apr_status_t config_check(config_t *cfg);
142
143/**
138 * Creates the default configuration 144 * Creates the default configuration
139 */ 145 */
140config_t *config_create(apr_pool_t *p); 146config_t *config_create(apr_pool_t *p);