summaryrefslogtreecommitdiffstats
path: root/src/config-process.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2019-01-05 22:06:45 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2019-01-05 22:06:45 +0100
commitdaa68c4b2de9814b8331e7b9079d5fc49bee35c1 (patch)
tree4f82de8a19abf7b6a0c9e6f511ac23995d9d5851 /src/config-process.h
parent9e059f898ae1b0528cdde553fd51c661901e283a (diff)
downloadneco-daa68c4b2de9814b8331e7b9079d5fc49bee35c1.tar
neco-daa68c4b2de9814b8331e7b9079d5fc49bee35c1.zip
Add first parts of interface config handling
Diffstat (limited to 'src/config-process.h')
-rw-r--r--src/config-process.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/config-process.h b/src/config-process.h
new file mode 100644
index 0000000..501e765
--- /dev/null
+++ b/src/config-process.h
@@ -0,0 +1,15 @@
+#pragma once
+
+#include "config-ini.h"
+
+#include <libubox/avl.h>
+
+typedef struct _config_object {
+ struct avl_node node;
+ char *type;
+ ini_file_t *data;
+} config_object_t;
+
+void config_object_free(config_object_t *obj);
+struct avl_tree * config_process_subtypes(struct avl_tree *sub);
+struct avl_tree * config_process_devices(struct avl_tree *devices);