]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/journal/journald-syslog.h
Merge pull request #17549 from yuwata/tiny-fixes
[thirdparty/systemd.git] / src / journal / journald-syslog.h
CommitLineData
db9ecf05 1/* SPDX-License-Identifier: LGPL-2.1-or-later */
35e2e347
LP
2#pragma once
3
d025f1e4 4#include "journald-server.h"
35e2e347 5
44a6b1b6 6int syslog_fixup_facility(int priority) _const_;
35e2e347 7
e88baee8 8size_t syslog_parse_identifier(const char **buf, char **identifier, char **pid);
5809560d 9
3b3154df 10void server_forward_syslog(Server *s, int priority, const char *identifier, const char *message, const struct ucred *ucred, const struct timeval *tv);
35e2e347 11
bb3ff70a 12void 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);
b1852c48 13int server_open_syslog_socket(Server *s, const char *syslog_socket);
178cc770
LP
14
15void server_maybe_warn_forward_syslog_missed(Server *s);