chiark / gitweb /
journalctl: immeidately terminate on invalid seed
[elogind.git] / src / journal / journal-internal.h
index 482ef61b9ab0410b3086c14d9443d0e20d7f76a5..86519be3d41f4286d4dc1161083a16835172dd9e 100644 (file)
@@ -1,7 +1,6 @@
 /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
 
-#ifndef foojournalinternalhfoo
-#define foojournalinternalhfoo
+#pragma once
 
 /***
   This file is part of systemd.
@@ -33,9 +32,6 @@
 #include "hashmap.h"
 #include "journal-file.h"
 
-typedef enum MatchType MatchType;
-typedef enum LocationType LocationType;
-
 typedef struct Match Match;
 typedef struct Location Location;
 typedef struct Directory Directory;
@@ -93,7 +89,10 @@ struct Directory {
 struct sd_journal {
         int flags;
 
+        char *path;
+
         Hashmap *files;
+        MMapCache *mmap;
 
         Location current_location;
 
@@ -111,5 +110,4 @@ struct sd_journal {
 };
 
 char *journal_make_match_string(sd_journal *j);
-
-#endif
+void journal_print_header(sd_journal *j);