Config iteration
This commit is contained in:
parent
ac6abd7c10
commit
77fd1763e0
3 changed files with 66 additions and 4 deletions
|
|
@ -11,8 +11,9 @@ typedef struct {
|
|||
ConfigEntry *head;
|
||||
} Config;
|
||||
|
||||
Config *config_load(const char *filename);
|
||||
const char *config_get(Config *cfg, const char *key);
|
||||
void config_free(Config *cfg);
|
||||
Config *config_load(const char *filename);
|
||||
const char *config_get(Config *cfg, const char *key);
|
||||
ConfigEntry *config_get_next(ConfigEntry *entry, int *index);
|
||||
void config_free(Config *cfg);
|
||||
|
||||
#endif // CONF_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue