/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-#ifndef foojournalinternalhfoo
-#define foojournalinternalhfoo
+#pragma once
/***
This file is part of systemd.
#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;
struct sd_journal {
int flags;
+ char *path;
+
Hashmap *files;
+ MMapCache *mmap;
Location current_location;
};
char *journal_make_match_string(sd_journal *j);
-
-#endif
+void journal_print_header(sd_journal *j);