]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/import/import-common.h
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
6 typedef enum ImportFlags
{
7 IMPORT_FORCE
= 1 << 0, /* replace existing image */
8 IMPORT_READ_ONLY
= 1 << 1, /* make generated image read-only */
10 IMPORT_FLAGS_MASK
= IMPORT_FORCE
|IMPORT_READ_ONLY
,
13 int import_make_read_only_fd(int fd
);
14 int import_make_read_only(const char *path
);
16 int import_fork_tar_c(const char *path
, pid_t
*ret
);
17 int import_fork_tar_x(const char *path
, pid_t
*ret
);
19 int import_mangle_os_tree(const char *path
);