1 /* SPDX-License-Identifier: LGPL-2.1-or-later */ 2 #pragma once 3 4 #include "journald-server.h" 5 6 int server_open_dev_kmsg(Server *s); 7 int server_flush_dev_kmsg(Server *s); 8 9 void server_forward_kmsg(Server *s, int priority, const char *identifier, const char *message, const struct ucred *ucred); 10 11 int server_open_kernel_seqnum(Server *s); 12 13 void dev_kmsg_record(Server *s, char *p, size_t l); 14