24 #include <libconfig.h++>
27 #ifndef BITZ_SERVER_CONFIG_FILE
28 #define BITZ_SERVER_CONFIG_FILE "/etc/bitz/bitz-server.conf"
40 std::string class_name;
41 unsigned int modules_count;
49 int max_worker_requests;
52 std::string log_category;
53 unsigned int req_handlers_count;
60 static Config &instance() {
65 const config_t &initialise(
const std::string &config_file = BITZ_SERVER_CONFIG_FILE );
77 const std::string
module_config(
const std::string &module,
const std::string &config )
throw();
81 libconfig::Config * _lconfig;
88 void read_req_handler_configs()
throw();
const std::string module_config(const std::string &module, const std::string &config)
Definition: config.cpp:115