aboutsummaryrefslogtreecommitdiffstats
path: root/src/opt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/opt.h')
-rw-r--r--src/opt.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/opt.h b/src/opt.h
new file mode 100644
index 0000000..10bc4c9
--- /dev/null
+++ b/src/opt.h
@@ -0,0 +1,14 @@
+#ifndef EVERY_OPT_H
+#define EVERY_OPT_H
+
+enum every_opt_outputmode {
+ EVERY_OPT_PRINTMODE_CONSOLE = 0,
+ EVERY_OPT_PRINTMODE_SCRIPT = 1,
+};
+
+void opt_parse(int argc, char **argv);
+
+const char* opt_confpath_str(void);
+enum every_opt_outputmode opt_outputmode(void);
+
+#endif