summaryrefslogtreecommitdiff
path: root/src/journal/journald.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-01-07 04:09:59 +0100
committerLennart Poettering <lennart@poettering.net>2012-01-07 04:10:21 +0100
commit6c1e6b98bde8288d65d7cddf87ff9bedf94a3e1c (patch)
tree1dbafbfac62dc374edccc1e5153fbb1c71e5f132 /src/journal/journald.h
parentaaf53376aaac326b700fd3f8e28bbd842f0a9ed1 (diff)
journald: add kmsg source
Diffstat (limited to 'src/journal/journald.h')
-rw-r--r--src/journal/journald.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/journal/journald.h b/src/journal/journald.h
index 3da57c50ca..1f1665bfdb 100644
--- a/src/journal/journald.h
+++ b/src/journal/journald.h
@@ -40,6 +40,7 @@ typedef struct Server {
int syslog_fd;
int native_fd;
int stdout_fd;
+ int proc_kmsg_fd;
JournalFile *runtime_journal;
JournalFile *system_journal;
@@ -63,6 +64,10 @@ typedef struct Server {
bool forward_to_syslog;
bool forward_to_console;
+ bool import_proc_kmsg;
+ char proc_kmsg_buffer[LINE_MAX+1];
+ size_t proc_kmsg_length;
+
uint64_t cached_available_space;
usec_t cached_available_space_timestamp;