blob: 4a39eb5b41a49c4366b75e97846c29372e962bac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
/* SPDX-License-Identifier: GPL-3.0-or-later */
#ifndef MKFS_H
#define MKFS_H
#include "meta_writer.h"
#include "data_writer.h"
#include "highlevel.h"
#include "squashfs.h"
#include "compress.h"
#include "id_table.h"
#include "fstree.h"
#include "config.h"
#include "util.h"
#include <getopt.h>
#include <assert.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <stdio.h>
#include <fcntl.h>
#include <errno.h>
#include <ctype.h>
typedef struct {
unsigned int def_uid;
unsigned int def_gid;
unsigned int def_mode;
unsigned int def_mtime;
E_SQFS_COMPRESSOR compressor;
int outmode;
int blksz;
int devblksz;
bool quiet;
const char *infile;
const char *packdir;
const char *outfile;
const char *selinux;
char *comp_extra;
} options_t;
void process_command_line(options_t *opt, int argc, char **argv);
#endif /* MKFS_H */
|