config.h (327B)
1 #ifndef UDPHOLE_CONFIG_H 2 #define UDPHOLE_CONFIG_H 3 4 #include "common/resp.h" 5 6 extern resp_object *global_cfg; 7 extern resp_object *pending_cfg; 8 9 void config_init(void); 10 int config_load(resp_object *cfg, const char *path); 11 int config_reload(void); 12 void config_set_path(const char *path); 13 const char *config_get_path(void); 14 15 #endif