]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/journal/journald-syslog.h
tree-wide: drop 'This file is part of systemd' blurb
[thirdparty/systemd.git] / src / journal / journald-syslog.h
CommitLineData
53e1b683 1/* SPDX-License-Identifier: LGPL-2.1+ */
35e2e347
LP
2#pragma once
3
4/***
35e2e347 5 Copyright 2011 Lennart Poettering
35e2e347
LP
6***/
7
d025f1e4 8#include "journald-server.h"
35e2e347 9
44a6b1b6 10int syslog_fixup_facility(int priority) _const_;
35e2e347 11
e88baee8 12size_t syslog_parse_identifier(const char **buf, char **identifier, char **pid);
5809560d 13
3b3154df 14void server_forward_syslog(Server *s, int priority, const char *identifier, const char *message, const struct ucred *ucred, const struct timeval *tv);
35e2e347 15
bb3ff70a 16void server_process_syslog_message(Server *s, const char *buf, size_t buf_len, const struct ucred *ucred, const struct timeval *tv, const char *label, size_t label_len);
35e2e347 17int server_open_syslog_socket(Server *s);
178cc770
LP
18
19void server_maybe_warn_forward_syslog_missed(Server *s);