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

/***
  This file is part of systemd.

  Copyright 2011 Lennart Poettering
***/

#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);