diff options
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -17,14 +17,15 @@ struct cfg_key_value_map { union cfg_value { const char *str; uint16_t uint16; - struct list_head addr_list; /* FIXME: addrs */ + struct list_head addrs; }; -bool config_parse_line(struct cfg *cfg, char **buf, +bool config_parse_line(struct cfg *cfg, const char *filename, char **buf, struct cfg_key_value_map *kvmap, int *rkey, const char **rkeyname, union cfg_value *rvalue); -bool config_parse_header(struct cfg *cfg, const char *title, char **buf); +bool config_parse_header(struct cfg *cfg, const char *filename, + const char *title, char **buf); #endif |