aboutsummaryrefslogtreecommitdiff
path: root/include/arg.h
diff options
context:
space:
mode:
authorShav Kinderlehrer <[email protected]>2023-04-12 23:46:53 -0400
committerShav Kinderlehrer <[email protected]>2023-04-12 23:46:53 -0400
commit58e0d435c38c0b4e6c59244436556dba6ed96abf (patch)
tree8876d6c5d2d7bdbb4e0bfef1eda33e49bf1f1da3 /include/arg.h
parentc760493f48e4f8c6fd9f3effb5082d263128548c (diff)
downloadlat-58e0d435c38c0b4e6c59244436556dba6ed96abf.tar.gz
lat-58e0d435c38c0b4e6c59244436556dba6ed96abf.zip
Add argsv0.4.0
- add color arg - add lines arg
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