aboutsummaryrefslogtreecommitdiff
path: root/options.h
blob: 04573fa8271fae52723d3da2bd60ce67c6b4a2ed (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 */