diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-08-09 15:57:24 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-08-09 15:57:24 +0200 |
commit | 51abe64c859c01ffad4f80840396ad9f6d5c9e62 (patch) | |
tree | 8f1da4c2021514ea3c2b6bd60efbe04fabddff52 /src/journal/journald.h | |
parent | 4e818ef351aa6c8239b125713a91f5fc682a5e26 (diff) |
journald: basic support for /dev/kmsg parsing
Diffstat (limited to 'src/journal/journald.h')
-rw-r--r-- | src/journal/journald.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/journal/journald.h b/src/journal/journald.h index acf19b4e7a..7e23bfc2dc 100644 --- a/src/journal/journald.h +++ b/src/journal/journald.h @@ -49,7 +49,7 @@ typedef struct Server { int syslog_fd; int native_fd; int stdout_fd; - int proc_kmsg_fd; + int dev_kmsg_fd; JournalFile *runtime_journal; JournalFile *system_journal; @@ -73,10 +73,6 @@ 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; @@ -96,6 +92,8 @@ typedef struct Server { int max_level_console; Storage storage; + + bool dev_kmsg_readable; } Server; /* gperf lookup function */ |