diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2018-12-29 17:00:31 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2018-12-29 17:00:31 +0100 |
commit | 9e059f898ae1b0528cdde553fd51c661901e283a (patch) | |
tree | a24d9f742d35e89a97632583a854dd65e9529b17 /src/config-ini.h | |
parent | f4881eb5e2892e75723b8cd26749b735741b52c4 (diff) | |
download | neco-9e059f898ae1b0528cdde553fd51c661901e283a.tar neco-9e059f898ae1b0528cdde553fd51c661901e283a.zip |
Load config dirs
Diffstat (limited to 'src/config-ini.h')
-rw-r--r-- | src/config-ini.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/config-ini.h b/src/config-ini.h index 802195d..58f6608 100644 --- a/src/config-ini.h +++ b/src/config-ini.h @@ -2,6 +2,8 @@ #include <libubox/list.h> +#include <stdio.h> + typedef struct { struct list_head node; char *key; @@ -18,5 +20,5 @@ typedef struct { struct list_head sections; } ini_file_t; -ini_file_t * read_ini_file(const char *filename); +ini_file_t * read_ini_file(FILE *f); void free_ini_file(ini_file_t *file); |