From 8cb7ab5550a528b0fdb75533e6dc0bcbc7a42719 Mon Sep 17 00:00:00 2001 From: katherine Date: Tue, 10 Dec 2019 22:40:03 -0700 Subject: initial commit --- src/opt.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/opt.h (limited to 'src/opt.h') 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 -- cgit v1.2.3