chiark / gitweb /
journald: log when we fail to forward messages to syslog
[elogind.git] / src / journal / journald-syslog.h
index 7fb8e429466044fecf90182de7d0bc83b3867c7f..e009ab7e721b4570626826a3e3efa7a60c2aa4ff 100644 (file)
 
 #include "journald.h"
 
-void syslog_read_identifier(const char **buf, char **identifier, char **pid);
 int syslog_fixup_facility(int priority);
 
+void syslog_parse_priority(char **p, int *priority);
+void syslog_parse_identifier(const char **buf, char **identifier, char **pid);
+
 void server_forward_syslog(Server *s, int priority, const char *identifier, const char *message, struct ucred *ucred, struct timeval *tv);
 
 void server_process_syslog_message(Server *s, const char *buf, struct ucred *ucred, struct timeval *tv, const char *label, size_t label_len);
 int server_open_syslog_socket(Server *s);
+
+void server_maybe_warn_forward_syslog_missed(Server *s);