summaryrefslogtreecommitdiff
path: root/inc/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/utils.h')
-rwxr-xr-xinc/utils.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/inc/utils.h b/inc/utils.h
new file mode 100755
index 0000000..c045b83
--- /dev/null
+++ b/inc/utils.h
@@ -0,0 +1,15 @@
+#ifndef UTILS_H
+#define UTILS_H
+
+#include "slices.h"
+
+struct progArgs {
+ char *src, *dst, *ddOpts, *dump;
+ address_t beginSector, endSector, blockSize;
+};
+
+int parseArgs(int argc, char **argv, struct progArgs *args);
+
+void usage(char *progname);
+
+#endif /*UTILS_H*/