1 /* SPDX-License-Identifier: LGPL-2.1-or-later */ 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, const char *syslog_socket); 14 15 void server_maybe_warn_forward_syslog_missed(Server *s); 16