X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fjournal%2Fjournal-internal.h;h=86519be3d41f4286d4dc1161083a16835172dd9e;hb=f2cc3753ce0e85960f0299855c3b98ba60efa580;hp=482ef61b9ab0410b3086c14d9443d0e20d7f76a5;hpb=cbdca8525b4f36297cb9e5cb090a9648763ed1bf;p=elogind.git diff --git a/src/journal/journal-internal.h b/src/journal/journal-internal.h index 482ef61b9..86519be3d 100644 --- a/src/journal/journal-internal.h +++ b/src/journal/journal-internal.h @@ -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);