diff options
| author | Jan Sucan <jan@jansucan.com> | 2021-05-02 10:19:23 +0200 |
|---|---|---|
| committer | Jan Sucan <jan@jansucan.com> | 2021-05-02 10:20:29 +0200 |
| commit | 02ffe0ed4113e7b479197d0ba1b160e6280b4099 (patch) | |
| tree | c7a3573039ba02983eec38267d61d86e1965bbab /src/options.h | |
| parent | 36a92af6ee3c20c93835a34ddeb148c34ccf023c (diff) | |
Move the source files to a src directory
Diffstat (limited to 'src/options.h')
| -rw-r--r-- | src/options.h | 19 |
1 files changed, 19 insertions, 0 deletions
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 <stdbool.h> +#include <stdint.h> + +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 */ |
