[common] added config file loading capability

This commit is contained in:
Geoffrey McRae
2019-05-11 18:22:01 +10:00
parent 522bacb1f0
commit 785bc33192
3 changed files with 203 additions and 23 deletions

View File

@@ -68,6 +68,9 @@ bool option_get_bool (const char * module, const char * name);
// called by the main application to parse the command line arguments
bool option_parse(int argc, char * argv[]);
// called by the main application to load configuration from a file
bool option_load(const char * filename);
// called by the main application to validate the option values
bool option_validate();