diff options
Diffstat (limited to 'src/journal/journal-file.h')
-rw-r--r-- | src/journal/journal-file.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/src/journal/journal-file.h b/src/journal/journal-file.h index 62197429ae..1f7f73a78d 100644 --- a/src/journal/journal-file.h +++ b/src/journal/journal-file.h @@ -88,10 +88,23 @@ typedef enum direction { DIRECTION_DOWN } direction_t; -int journal_file_open(const char *fname, int flags, mode_t mode, JournalFile *template, JournalFile **ret); +int journal_file_open( + const char *fname, + int flags, + mode_t mode, + JournalMetrics *metrics, + 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_open_reliably( + const char *fname, + int flags, + mode_t mode, + JournalMetrics *metrics, + JournalFile *template, + JournalFile **ret); int journal_file_move_to_object(JournalFile *f, int type, uint64_t offset, Object **ret); |