[common] added config file loading capability

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

No files matched your search

+3
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();