diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-03-15 01:13:01 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-03-15 01:13:01 +0100 |
commit | 9447a7f1de5e5798cf324ef26579d0dd7e601203 (patch) | |
tree | c100eaa48a3ffe383d8809cc2be58cec17c5443d /src/journal/journal-file.h | |
parent | 4d1c38b8072dca18807371170d5e14fa8dc0baa5 (diff) |
journal: if we encounter a corrupted file, rotate and go on
Diffstat (limited to 'src/journal/journal-file.h')
-rw-r--r-- | src/journal/journal-file.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/journal/journal-file.h b/src/journal/journal-file.h index 4ef4a14479..4d6e140771 100644 --- a/src/journal/journal-file.h +++ b/src/journal/journal-file.h @@ -89,6 +89,8 @@ typedef enum direction { int journal_file_open(const char *fname, int flags, mode_t mode, JournalFile *template, JournalFile **ret); void journal_file_close(JournalFile *j); +int journal_file_open_reliably(const char *fname, int flags, mode_t mode, JournalFile *template, JournalFile **ret); + int journal_file_move_to_object(JournalFile *f, int type, uint64_t offset, Object **ret); uint64_t journal_file_entry_n_items(Object *o); |