1 #ifndef CONFIG_LOADER_H
2 #define CONFIG_LOADER_H
6 #define OPT_CFG_REF_UNIT_KEY "ref_unit"
7 #define OPT_CFG_OFFSET_KEY "offset"
int replace_opt_in_opt_config(const char *cfg_path, std::string key, std::string value)
This is used to replace a values in optional config.
int load_main_config_ini(const char *cfg_path)
This funciton loads main configuration. _ini symobolizes that the expected format is ....
int load_opt_config(const char *cfg_path)
Loads the optional config.
int exist_opt_config(const char *cfg_path)
Checks if optional config exists.