summaryrefslogtreecommitdiff
path: root/src/setup.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2018-02-17 18:18:52 -0800
committerVito Caputo <vcaputo@pengaru.com>2018-02-20 13:58:18 -0800
commitbdd87e11c050819fea910bcc36865b84b59733ad (patch)
tree4ee6b2a7dd563d9469372069658902e3a7968cd6 /src/setup.h
parent7cccd01fe2f56a4e1805ab7b1cb3a4ee1f852b21 (diff)
setup: add simple stdio setup_interactively()
Preliminary means for interactively configuring settings and defaults
Diffstat (limited to 'src/setup.h')
-rw-r--r--src/setup.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/setup.h b/src/setup.h
new file mode 100644
index 0000000..2f190f4
--- /dev/null
+++ b/src/setup.h
@@ -0,0 +1,8 @@
+#ifndef _SETUP_H
+#define _SETUP_H
+
+#include "settings.h"
+
+int setup_interactively(settings_t *settings, int (*setup_func)(settings_t *settings, setting_desc_t **next), int defaults);
+
+#endif
© All Rights Reserved