summaryrefslogtreecommitdiff
path: root/src/journal-remote/journal-remote-write.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-03-24 14:04:40 +0100
committerLennart Poettering <lennart@poettering.net>2022-03-25 09:59:09 +0100
commit49615dbd8191e2b898496c5a90fdb35f92d4fdb9 (patch)
tree38d63d34e959aee2896594dadfb121033aea4cbd /src/journal-remote/journal-remote-write.h
parenta35420d85d42bc1c0c7b315ab161ff0e5026c46d (diff)
downloadsystemd-49615dbd8191e2b898496c5a90fdb35f92d4fdb9.tar.gz
journal-file: merge compress/seal bool args into a single flags param
Just some modernization/refactoring. No change in behaviour, just let's do how we do things these days: use flags param instead of list of bools.
Diffstat (limited to 'src/journal-remote/journal-remote-write.h')
-rw-r--r--src/journal-remote/journal-remote-write.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/journal-remote/journal-remote-write.h b/src/journal-remote/journal-remote-write.h
index 0e375f3489..2079214e23 100644
--- a/src/journal-remote/journal-remote-write.h
+++ b/src/journal-remote/journal-remote-write.h
@@ -29,8 +29,7 @@ int writer_write(Writer *s,
const struct iovec_wrapper *iovw,
const dual_timestamp *ts,
const sd_id128_t *boot_id,
- bool compress,
- bool seal);
+ JournalFileFlags file_flags);
typedef enum JournalWriteSplitMode {
JOURNAL_WRITE_SPLIT_NONE,