From 31afd2aaaeb76a12e232eab0fb6a550b73948737 Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Mon, 22 Jun 2020 10:50:15 +0200 Subject: Make struct cfg global and make the corresponding changes throughout --- config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config.h') diff --git a/config.h b/config.h index 0c28e0a..a88be90 100644 --- a/config.h +++ b/config.h @@ -48,12 +48,12 @@ struct cfg_value { }; }; -bool config_parse_line(struct cfg *cfg, const char *filename, char **buf, +bool config_parse_line(const char *filename, char **buf, struct cfg_key_value_map *kvmap, int *rkey, const char **rkeyname, struct cfg_value *rvalue); -bool config_parse_header(struct cfg *cfg, const char *filename, +bool config_parse_header(const char *filename, const char *title, char **buf); #endif -- cgit v1.2.3