chiark / gitweb /
journal: move syslog specific calls out of util.c
[elogind.git] / src / journal / journald-syslog.h
index 7fb8e429466044fecf90182de7d0bc83b3867c7f..8845d28df2e95a1607400ead9213c0ea6e392c77 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);