]>
Commit | Line | Data |
---|---|---|
53e1b683 | 1 | /* SPDX-License-Identifier: LGPL-2.1+ */ |
0284adc6 LP |
2 | #pragma once |
3 | ||
4da416aa | 4 | #include <stdbool.h> |
4da416aa | 5 | |
0284adc6 LP |
6 | #include "journal-file.h" |
7 | ||
8 | int journal_file_append_tag(JournalFile *f); | |
9 | int journal_file_maybe_append_tag(JournalFile *f, uint64_t realtime); | |
10 | int journal_file_append_first_tag(JournalFile *f); | |
11 | ||
baed47c3 | 12 | int journal_file_hmac_setup(JournalFile *f); |
14d10188 | 13 | int journal_file_hmac_start(JournalFile *f); |
0284adc6 | 14 | int journal_file_hmac_put_header(JournalFile *f); |
78519831 | 15 | int journal_file_hmac_put_object(JournalFile *f, ObjectType type, Object *o, uint64_t p); |
0284adc6 | 16 | |
baed47c3 | 17 | int journal_file_fss_load(JournalFile *f); |
feb12d3e | 18 | int journal_file_parse_verification_key(JournalFile *f, const char *key); |
14d10188 | 19 | |
baed47c3 | 20 | int journal_file_fsprg_evolve(JournalFile *f, uint64_t realtime); |
14d10188 | 21 | int journal_file_fsprg_seek(JournalFile *f, uint64_t epoch); |
89fef990 LP |
22 | |
23 | bool journal_file_next_evolve_usec(JournalFile *f, usec_t *u); |