summaryrefslogtreecommitdiff
path: root/src/journal/journal-file.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-12-29 15:00:57 +0100
committerLennart Poettering <lennart@poettering.net>2011-12-29 15:00:57 +0100
commitcf244689e9d1ab50082c9ddd0f3c4d1eb982badc (patch)
tree0b2b9438e6269b1e9b4aee155d4eda60f2a8d720 /src/journal/journal-file.h
parentde97b26ac5e29063632312ec1a20eb6318ca924c (diff)
journald: flush /run to /var as soon as it becomes available
Diffstat (limited to 'src/journal/journal-file.h')
-rw-r--r--src/journal/journal-file.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/journal/journal-file.h b/src/journal/journal-file.h
index 421dfa6766..ab2970ca00 100644
--- a/src/journal/journal-file.h
+++ b/src/journal/journal-file.h
@@ -113,10 +113,14 @@ int journal_file_move_to_entry_by_monotonic(JournalFile *f, sd_id128_t boot_id,
int journal_file_move_to_entry_by_seqnum_for_data(JournalFile *f, uint64_t data_offset, uint64_t seqnum, direction_t direction, Object **ret, uint64_t *offset);
int journal_file_move_to_entry_by_realtime_for_data(JournalFile *f, uint64_t data_offset, uint64_t realtime, direction_t direction, Object **ret, uint64_t *offset);
+int journal_file_copy_entry(JournalFile *from, JournalFile *to, Object *o, uint64_t p, uint64_t *seqnum, Object **ret, uint64_t *offset);
+
void journal_file_dump(JournalFile *f);
int journal_file_rotate(JournalFile **f);
int journal_directory_vacuum(const char *directory, uint64_t max_use, uint64_t min_free);
+void journal_file_post_change(JournalFile *f);
+
#endif