diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-01-22 17:10:50 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-01-22 20:54:51 +0100 |
commit | 5183c50add40a89c0f83c0006cc2b50581b1c306 (patch) | |
tree | bcf9c51aed2796f8b1229607cf8ba1a5042f27be /src/import/import-raw.h | |
parent | 1f5a21324cec54aaee5427edd3bb876c08fc0bf7 (diff) | |
download | systemd-5183c50add40a89c0f83c0006cc2b50581b1c306.tar.gz |
import: introduce ImportFlags flags field
This merges the two flags that are passed to the ImportTar/ImportRaw
objects into a single flags parameter, which we then can extend more
easily later on.
No change in behaviour.
This is inspired by 133b34f69a72dc90d4e336837d699245390c9f50 which does
the same for PullTar/PullRaw.
Diffstat (limited to 'src/import/import-raw.h')
-rw-r--r-- | src/import/import-raw.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/import/import-raw.h b/src/import/import-raw.h index 4612a9ffef..e99703c155 100644 --- a/src/import/import-raw.h +++ b/src/import/import-raw.h @@ -3,6 +3,7 @@ #include "sd-event.h" +#include "import-common.h" #include "import-util.h" #include "macro.h" @@ -15,4 +16,4 @@ RawImport* raw_import_unref(RawImport *import); DEFINE_TRIVIAL_CLEANUP_FUNC(RawImport*, raw_import_unref); -int raw_import_start(RawImport *i, int fd, const char *local, bool force_local, bool read_only); +int raw_import_start(RawImport *i, int fd, const char *local, ImportFlags flags); |