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); |