From ca2cf9265e2030a9098f18315e3addde7f518192 Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Mon, 18 Nov 2024 23:29:26 +0100 Subject: Refactor --- src/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/config.h') diff --git a/src/config.h b/src/config.h index fef2cba..e65dbcf 100644 --- a/src/config.h +++ b/src/config.h @@ -45,11 +45,11 @@ typedef struct { void config_init(config_t *config); -void config_read(config_t *config, FILE *file); +int config_read(config_t *config, FILE *file); bool config_resolve_children(config_t *config, block_t *block); -block_t *config_resolve(config_t *config); +int config_resolve(config_t *config, block_t **block); void config_free(config_t *config); -- cgit v1.2.3