Print ELF header/segments/sections
[centaur.git] / include / options.h
diff --git a/include/options.h b/include/options.h
new file mode 100644 (file)
index 0000000..f39f01e
--- /dev/null
@@ -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