chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
journal: implement generic sharable mmap caching logic
[elogind.git]
/
src
/
journal
/
journal-internal.h
diff --git
a/src/journal/journal-internal.h
b/src/journal/journal-internal.h
index 482ef61b9ab0410b3086c14d9443d0e20d7f76a5..86519be3d41f4286d4dc1161083a16835172dd9e 100644
(file)
--- 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 -*-*/
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-#ifndef foojournalinternalhfoo
-#define foojournalinternalhfoo
+#pragma once
/***
This file is part of systemd.
/***
This file is part of systemd.
@@
-33,9
+32,6
@@
#include "hashmap.h"
#include "journal-file.h"
#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;
typedef struct Match Match;
typedef struct Location Location;
typedef struct Directory Directory;
@@
-93,7
+89,10
@@
struct Directory {
struct sd_journal {
int flags;
struct sd_journal {
int flags;
+ char *path;
+
Hashmap *files;
Hashmap *files;
+ MMapCache *mmap;
Location current_location;
Location current_location;
@@
-111,5
+110,4
@@
struct sd_journal {
};
char *journal_make_match_string(sd_journal *j);
};
char *journal_make_match_string(sd_journal *j);
-
-#endif
+void journal_print_header(sd_journal *j);