From 02ffe0ed4113e7b479197d0ba1b160e6280b4099 Mon Sep 17 00:00:00 2001 From: Jan Sucan Date: Sun, 2 May 2021 10:19:23 +0200 Subject: Move the source files to a src directory --- src/options.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/options.h (limited to 'src/options.h') diff --git a/src/options.h b/src/options.h new file mode 100644 index 0000000..71259aa --- /dev/null +++ b/src/options.h @@ -0,0 +1,19 @@ +#ifndef OPTIONS_H +#define OPTIONS_H + +#include +#include + +typedef struct { + bool help; + uint32_t sector_size; + uint32_t buffer_size; + + const char *in_file_path; + const char *ref_file_path; + const char *out_file_path; +} options_t; + +int options_parse(int argc, char **argv, options_t *const opts); + +#endif /* OPTIONS_H */ -- cgit v1.2.3