blob: 89c3cd402c1b020babcf0087ba7023b378e07c76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#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);
void options_usage(int exit_code);
#endif /* OPTIONS_H */
|