new function to traverse config

(Work in progress)
This commit is contained in:
2022-08-01 10:05:14 +02:00
parent 0e07e42167
commit 04d469b970
2 changed files with 81 additions and 3 deletions

View File

@ -18,7 +18,7 @@ struct cw_Cfg_entry{
char *val;
};
char * cw_cfg_get(cw_Cfg_t * cfg, char *key);
const char * cw_cfg_get(cw_Cfg_t * cfg, char *key, const char *def);
#endif