summaryrefslogtreecommitdiff
path: root/mkfs/options.h
blob: dc112504655938dd64866c640b288c5fe895981c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-3.0-or-later */
#ifndef OPTIONS_H
#define OPTIONS_H

typedef struct {
	unsigned int def_uid;
	unsigned int def_gid;
	unsigned int def_mode;
	unsigned int def_mtime;
	int outmode;
	int compressor;
	int blksz;
	int devblksz;
	const char *infile;
	const char *outfile;
} options_t;

void process_command_line(options_t *opt, int argc, char **argv);

#endif /* OPTIONS_H */