chiark / gitweb /
journal: properly implement matching with multiple matches
[elogind.git] / src / journal / journal-def.h
index b3fa1e5..5cb1e6d 100644 (file)
@@ -65,6 +65,7 @@ _packed_ struct DataObject {
 
 _packed_ struct EntryItem {
         uint64_t object_offset;
 
 _packed_ struct EntryItem {
         uint64_t object_offset;
+        uint64_t hash;
         uint64_t prev_entry_offset;
         uint64_t next_entry_offset;
 };
         uint64_t prev_entry_offset;
         uint64_t next_entry_offset;
 };
@@ -136,6 +137,8 @@ _packed_ struct Header {
         uint64_t last_bisect_offset;
         uint64_t n_objects;
         uint64_t seqnum;
         uint64_t last_bisect_offset;
         uint64_t n_objects;
         uint64_t seqnum;
+        uint64_t head_entry_realtime;
+        uint64_t tail_entry_realtime;
 };
 
 #endif
 };
 
 #endif