summaryrefslogtreecommitdiff
path: root/src/options/honey_options.h
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-03-01 22:42:10 -0600
committersanine <sanine.not@pm.me>2022-03-01 22:42:10 -0600
commit10288765588673645c1cc0a6e3d2245aff3f9080 (patch)
tree3a56953535c3e26156b41331631d51e25ff6bdb9 /src/options/honey_options.h
parent9c238237597de90c73cc65c3fccf2f49bfaa46b4 (diff)
add basic window functions, option parsing, and main loop
Diffstat (limited to 'src/options/honey_options.h')
-rw-r--r--src/options/honey_options.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/options/honey_options.h b/src/options/honey_options.h
new file mode 100644
index 0000000..5f4aded
--- /dev/null
+++ b/src/options/honey_options.h
@@ -0,0 +1,14 @@
+#ifndef HONEY_OPTIONS_H
+#define HONEY_OPTIONS_H
+
+#include "logging/logging.h"
+
+struct honey_options {
+ const char *main_script;
+ enum honey_log_level_t log_level;
+ int display_help;
+};
+
+int parse_options(struct honey_options *opts, int argc, char **argv);
+
+#endif