aboutsummaryrefslogtreecommitdiff
path: root/include/arg.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/arg.h')
-rw-r--r--include/arg.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/arg.h b/include/arg.h
new file mode 100644
index 0000000..be7ca0e
--- /dev/null
+++ b/include/arg.h
@@ -0,0 +1,14 @@
+#ifndef ARG_H
+#define ARG_H
+#include <stdbool.h>
+
+struct config {
+ bool color;
+ bool lines;
+};
+
+extern struct config conf;
+
+int parseargs(int argc, char *argv[]);
+
+#endif