summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/config.h b/config.h
index 7a92c1c..2ea440a 100644
--- a/config.h
+++ b/config.h
@@ -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