diff options
Diffstat (limited to 'mkfs/options.h')
-rw-r--r-- | mkfs/options.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mkfs/options.h b/mkfs/options.h new file mode 100644 index 0000000..dc11250 --- /dev/null +++ b/mkfs/options.h @@ -0,0 +1,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 */ |