summaryrefslogtreecommitdiffstats
path: root/src/import/import-common.h
blob: 94d224f4129889b557cfd9f8463a403748b680a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once

#include <sys/types.h>

int import_make_read_only_fd(int fd);
int import_make_read_only(const char *path);

int import_fork_tar_c(const char *path, pid_t *ret);
int import_fork_tar_x(const char *path, pid_t *ret);

int import_mangle_os_tree(const char *path);