#ifndef CORE_CONFIG_H #define CORE_CONFIG_H #include #include #include typedef struct { char *file; char *database; log_level_t log_level; run_type_t run_type; char server_port[6]; uint16_t discovery_port; } config_t; extern config_t global_config; int config_load(IniDispatch *disp, void *config_void); #endif /* CORE_CONFIG_H */