| 1 |
/* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 2 |
#pragma once |
| 3 |
|
| 4 |
#include "sd-forward.h" |
| 5 |
#include "journal-file.h" |
| 6 |
|
| 7 |
int journal_file_append_tag(JournalFile *f); |
| 8 |
int journal_file_maybe_append_tag(JournalFile *f, uint64_t realtime); |
| 9 |
int journal_file_append_first_tag(JournalFile *f); |
| 10 |
|
| 11 |
int journal_file_hmac_setup(JournalFile *f); |
| 12 |
int journal_file_hmac_start(JournalFile *f); |
| 13 |
int journal_file_hmac_put_header(JournalFile *f); |
| 14 |
int journal_file_hmac_put_object(JournalFile *f, ObjectType type, Object *o, uint64_t p); |
| 15 |
|
| 16 |
int journal_file_fss_load(JournalFile *f); |
| 17 |
int journal_file_parse_verification_key(JournalFile *f, const char *key); |
| 18 |
|
| 19 |
int journal_file_fsprg_evolve(JournalFile *f, uint64_t realtime); |
| 20 |
int journal_file_fsprg_seek(JournalFile *f, uint64_t goal); |
| 21 |
|
| 22 |
bool journal_file_next_evolve_usec(JournalFile *f, usec_t *u); |