chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
journalctl: include corrupted files in output
[elogind.git]
/
src
/
journal
/
journal-internal.h
diff --git
a/src/journal/journal-internal.h
b/src/journal/journal-internal.h
index 482ef61b9ab0410b3086c14d9443d0e20d7f76a5..d17fdb2e92a596606090613c3e09a5e8e70cfac0 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,6
+89,8
@@
struct Directory {
struct sd_journal {
int flags;
struct sd_journal {
int flags;
+ char *path;
+
Hashmap *files;
Location current_location;
Hashmap *files;
Location current_location;
@@
-111,5
+109,5
@@
struct sd_journal {
};
char *journal_make_match_string(sd_journal *j);
};
char *journal_make_match_string(sd_journal *j);
+void journal_print_header(sd_journal *j);
-#endif