diff options
Diffstat (limited to 'src/import/import-common.h')
-rw-r--r-- | src/import/import-common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/import/import-common.h b/src/import/import-common.h index b27a980839..d7e8fc485f 100644 --- a/src/import/import-common.h +++ b/src/import/import-common.h @@ -3,6 +3,13 @@ #include <sys/types.h> +typedef enum ImportFlags { + IMPORT_FORCE = 1 << 0, /* replace existing image */ + IMPORT_READ_ONLY = 1 << 1, /* make generated image read-only */ + + IMPORT_FLAGS_MASK = IMPORT_FORCE|IMPORT_READ_ONLY, +} ImportFlags; + int import_make_read_only_fd(int fd); int import_make_read_only(const char *path); |