summaryrefslogtreecommitdiff
path: root/include/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/options.h')
-rw-r--r--include/options.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/options.h b/include/options.h
new file mode 100644
index 0000000..f39f01e
--- /dev/null
+++ b/include/options.h
@@ -0,0 +1,16 @@
+#ifndef __OPTIONS_H__
+#define __OPTIONS_H__
+
+
+typedef struct {
+ char *fnInput;
+ char *fnOutput;
+ int printHeader;
+ int printSegments;
+ int printSections;
+} CLIOpts;
+
+
+void parseOptions(CLIOpts *opts, int argc, char **argv);
+
+#endif