From c16a1cea13c70e9c40a8db82d561e71bd04f404f Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 16 Nov 2014 16:51:30 -0500 Subject: Reorg a bit, introduce a control struct --- conf.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 conf.h (limited to 'conf.h') diff --git a/conf.h b/conf.h new file mode 100644 index 0000000..1ce6a17 --- /dev/null +++ b/conf.h @@ -0,0 +1,15 @@ +#ifndef _CONF_H +#define _CONF_H + +typedef struct config_t { + char **repos; + int size; + int capacity; +} config_t; + +int config_parse(config_t *config, const char *filename); +void config_reset(config_t *config); + +#endif /* _CONF_H */ + +/* vim: set et ts=2 sw=2: */ -- cgit v1.2.3-54-g00ecf