From 1fc605b0e130149a44abfa38c33f4535cfe548ea Mon Sep 17 00:00:00 2001 From: Michal Schmidt Date: Tue, 16 Dec 2014 20:54:56 +0100 Subject: journal: abstract the resetting of JournalFile's location --- src/journal/journal-file.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/journal/journal-file.h') diff --git a/src/journal/journal-file.h b/src/journal/journal-file.h index b14d0fc3e3..3a19827fb7 100644 --- a/src/journal/journal-file.h +++ b/src/journal/journal-file.h @@ -189,6 +189,7 @@ int journal_file_find_data_object_with_hash(JournalFile *f, const void *data, ui int journal_file_find_field_object(JournalFile *f, const void *field, uint64_t size, Object **ret, uint64_t *offset); int journal_file_find_field_object_with_hash(JournalFile *f, const void *field, uint64_t size, uint64_t hash, Object **ret, uint64_t *offset); +void journal_file_reset_location(JournalFile *f); int journal_file_next_entry(JournalFile *f, Object *o, uint64_t p, direction_t direction, Object **ret, uint64_t *offset); int journal_file_next_entry_for_data(JournalFile *f, Object *o, uint64_t p, uint64_t data_offset, direction_t direction, Object **ret, uint64_t *offset); -- cgit v1.2.3