From 498c691eb0dd19b23f70421484aa6d738f35e73c Mon Sep 17 00:00:00 2001 From: Jan Sucan Date: Thu, 11 Apr 2019 18:44:34 +0200 Subject: Initial commit --- options.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 options.h (limited to 'options.h') diff --git a/options.h b/options.h new file mode 100644 index 0000000..0c64bbd --- /dev/null +++ b/options.h @@ -0,0 +1,20 @@ +#ifndef OPTIONS_H +#define OPTIONS_H + +#include +#include + +typedef struct { + bool help; + uint32_t sector_size; + uint32_t buffer_size; + bool do_not_ask; + + 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