summaryrefslogtreecommitdiff
path: root/mkfs/mkfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'mkfs/mkfs.h')
-rw-r--r--mkfs/mkfs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/mkfs/mkfs.h b/mkfs/mkfs.h
index ca998ac..67dc994 100644
--- a/mkfs/mkfs.h
+++ b/mkfs/mkfs.h
@@ -9,6 +9,7 @@
#include "config.h"
#include "table.h"
+#include <assert.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
@@ -16,6 +17,12 @@
#include <fcntl.h>
#include <errno.h>
+typedef enum {
+ PACK_NONE,
+ PACK_FILE,
+ PACK_DIR,
+} E_PACK_MODE;
+
typedef struct {
unsigned int def_uid;
unsigned int def_gid;
@@ -30,6 +37,7 @@ typedef struct {
const char *outfile;
const char *selinux;
char *comp_extra;
+ E_PACK_MODE mode;
} options_t;
typedef struct {