renamed cw_entry into cw_Cfg_entry

new function cw_cfg_get
This commit is contained in:
2022-07-31 10:50:37 +02:00
parent a2e8e77468
commit 996446d115
2 changed files with 25 additions and 13 deletions

View File

@ -13,6 +13,13 @@ void cw_cfg_dump(cw_Cfg_t *cfg);
int cw_cfg_read_from_file(FILE * file, cw_Cfg_t * cfg);
int cw_cfg_load(const char *filename,cw_Cfg_t * cfg);
struct cw_Cfg_entry{
char *key;
char *val;
};
char * cw_cfg_get(cw_Cfg_t * cfg, char *key);
#endif