aboutsummaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h
index 11bb18e..baf4fef 100644
--- a/include/config.h
+++ b/include/config.h
@@ -1,9 +1,17 @@
#ifndef __CONFIG_H
#define __CONFIG_H
+#include <list.h>
+
#define DELIM "="
#define DELIM_ARRAY ","
-void config_parse(char *content);
+typedef struct {
+ list_t *keys;
+ list_t *values;
+ list_t *array_values;
+} config_t;
+
+config_t *config_parse(char *content);
#endif