]>
Commit | Line | Data |
---|---|---|
53e1b683 | 1 | /* SPDX-License-Identifier: LGPL-2.1+ */ |
35e2e347 LP |
2 | #pragma once |
3 | ||
d025f1e4 | 4 | #include "journald-server.h" |
35e2e347 | 5 | |
44a6b1b6 | 6 | int syslog_fixup_facility(int priority) _const_; |
35e2e347 | 7 | |
e88baee8 | 8 | size_t syslog_parse_identifier(const char **buf, char **identifier, char **pid); |
5809560d | 9 | |
3b3154df | 10 | void server_forward_syslog(Server *s, int priority, const char *identifier, const char *message, const struct ucred *ucred, const struct timeval *tv); |
35e2e347 | 11 | |
bb3ff70a | 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); |
b1852c48 | 13 | int server_open_syslog_socket(Server *s, const char *syslog_socket); |
178cc770 LP |
14 | |
15 | void server_maybe_warn_forward_syslog_missed(Server *s); |