src/server/daemon/config.c

branch
webdav
changeset 373
f78a585e1a2f
parent 368
69dbcc7e7f93
child 388
30d29ef5b79a
equal deleted inserted replaced
372:1d2538a1ba8f 373:f78a585e1a2f
56 #include "../util/atomic.h" 56 #include "../util/atomic.h"
57 #include "ucx/buffer.h" 57 #include "ucx/buffer.h"
58 58
59 pool_handle_t *init_pool; 59 pool_handle_t *init_pool;
60 60
61 char* cfg_config_file_path(const char *file) {
62 sstr_t base = ST("config/");
63 sstr_t path = sstrcat(2, base, scstr(file));
64 return path.ptr;
65 }
61 66
62 int load_init_conf(char *file) { 67 int load_init_conf(char *file) {
63 log_ereport(LOG_VERBOSE, "load_init_conf"); 68 log_ereport(LOG_VERBOSE, "load_init_conf");
64 69
65 InitConfig *cfg = load_init_config(file); 70 InitConfig *cfg = load_init_config(file);

mercurial