summaryrefslogtreecommitdiff
path: root/src/journal/journald-kmsg.h
blob: bd288c57a2de725a031ef4fb27924644444a4230 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once

#include "journald-server.h"

int server_open_dev_kmsg(Server *s);
int server_flush_dev_kmsg(Server *s);

void server_forward_kmsg(Server *s, int priority, const char *identifier, const char *message, const struct ucred *ucred);

int server_open_kernel_seqnum(Server *s);

void dev_kmsg_record(Server *s, char *p, size_t l);