aboutsummaryrefslogtreecommitdiff
path: root/options.h
blob: 0c64bbd3ea82929603b5c48e9f415ce965444e8f (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;
    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 */