aboutsummaryrefslogtreecommitdiff
path: root/mkfs/mkfs.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-10-05 20:06:50 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-10-05 22:39:45 +0200
commit1e24f45ab120ea83a6faab2e4e14038547898f64 (patch)
tree37e263056c462ac53bad36b5c7d72dc7dad7b2d8 /mkfs/mkfs.h
parentad3ca222ab5142769d1c56029360955490f05202 (diff)
Merge all the common code for generating images
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'mkfs/mkfs.h')
-rw-r--r--mkfs/mkfs.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/mkfs/mkfs.h b/mkfs/mkfs.h
index 686938e..0c204e0 100644
--- a/mkfs/mkfs.h
+++ b/mkfs/mkfs.h
@@ -9,13 +9,6 @@
#include "config.h"
-#include "sqfs/xattr_writer.h"
-#include "sqfs/meta_writer.h"
-#include "sqfs/compressor.h"
-#include "sqfs/id_table.h"
-#include "sqfs/block.h"
-#include "sqfs/io.h"
-
#include "highlevel.h"
#include "fstree.h"
#include "util.h"
@@ -42,21 +35,11 @@
#include <ctype.h>
typedef struct {
- E_SQFS_COMPRESSOR compressor;
- char *fs_defaults;
- int outmode;
- int blksz;
- int devblksz;
+ sqfs_writer_cfg_t cfg;
unsigned int dirscan_flags;
- unsigned int num_jobs;
- size_t max_backlog;
- bool exportable;
- bool quiet;
const char *infile;
const char *packdir;
- const char *outfile;
const char *selinux;
- char *comp_extra;
} options_t;
enum {