]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/journal/journald-syslog.h
libudev: hide definition of struct udev_list from other libudev components
[thirdparty/systemd.git] / src / journal / journald-syslog.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 #pragma once
3
4 #include "journald-server.h"
5
6 int syslog_fixup_facility(int priority) _const_;
7
8 size_t syslog_parse_identifier(const char **buf, char **identifier, char **pid);
9
10 void server_forward_syslog(Server *s, int priority, const char *identifier, const char *message, const struct ucred *ucred, const struct timeval *tv);
11
12 void 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);
13 int server_open_syslog_socket(Server *s);
14
15 void server_maybe_warn_forward_syslog_missed(Server *s);