chiark / gitweb /
utmp-wtmp: allow overriding username on wall
[elogind.git] / src / journal / journald-syslog.h
index e009ab7e721b4570626826a3e3efa7a60c2aa4ff..057ea79def6a4127bb311a99a3a27ad79043e8d0 100644 (file)
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-#include "journald.h"
+#include "journald-server.h"
 
-int syslog_fixup_facility(int priority);
+int syslog_fixup_facility(int priority) _const_;
 
-void syslog_parse_priority(char **p, int *priority);
-void syslog_parse_identifier(const char **buf, char **identifier, char **pid);
+void syslog_parse_priority(const char **p, int *priority, bool with_facility);
+size_t 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);