aboutsummaryrefslogtreecommitdiff
path: root/src/options.h
blob: 71259aa4a1929fa4158f19276aa0b2339ec277ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 */