summaryrefslogtreecommitdiff
path: root/src/options/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/options/options.h')
-rw-r--r--src/options/options.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/options/options.h b/src/options/options.h
new file mode 100644
index 0000000..cb07b1a
--- /dev/null
+++ b/src/options/options.h
@@ -0,0 +1,16 @@
+#ifndef HONEY_OPTIONS_H
+#define HONEY_OPTIONS_H
+
+struct honey_options {
+ const char *script_file; // main entry point
+};
+
+enum outcomes_t {
+ CONTINUE_SUCCESS,
+ EXIT_SUCCESS,
+ EXIT_FAILURE,
+};
+
+enum outcomes_t parse_options(struct honey_options *options, int argc, char **argv);
+
+#endif