diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-01-07 04:09:59 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-01-07 04:10:21 +0100 |
commit | 6c1e6b98bde8288d65d7cddf87ff9bedf94a3e1c (patch) | |
tree | 1dbafbfac62dc374edccc1e5153fbb1c71e5f132 /src/journal/journald.h | |
parent | aaf53376aaac326b700fd3f8e28bbd842f0a9ed1 (diff) |
journald: add kmsg source
Diffstat (limited to 'src/journal/journald.h')
-rw-r--r-- | src/journal/journald.h | 5 |
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; |