2 * @brief Config class header. This class represents the actual configuration.
6 * @copyright Intra2net AG
13 #include <boost/program_options.hpp>
14 #include <boost/foreach.hpp>
15 #include <boost/filesystem.hpp>
16 #include <boost/regex.hpp>
27 namespace po = boost::program_options;
28 namespace fs = boost::filesystem;
35 po::options_description *Opt_desc_cmd;
36 po::options_description *Opt_desc_conf_main;
37 po::options_description *Opt_desc_conf_service;
39 list<Service*> Services;
46 Service * create_service(string,string,string,string);
52 int parse_cmd_line(int, char **);
54 int load_config_from_files(string);
58 void print_version(string);
60 list<Service*> get_services();