summaryrefslogtreecommitdiff
path: root/src/journal/journald-syslog.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-08-22 03:24:46 +0200
committerLennart Poettering <lennart@poettering.net>2012-08-22 03:24:46 +0200
commit5809560d858f45351856d6fe786a8117306dd0f2 (patch)
treeb58179567529aba642753cd418c4d98c52dfecbf /src/journal/journald-syslog.h
parent35e2e347d38cc2f8bd7c38a0d8a5129f5fbb0ab9 (diff)
journal: move syslog specific calls out of util.c
Diffstat (limited to 'src/journal/journald-syslog.h')
-rw-r--r--src/journal/journald-syslog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/journal/journald-syslog.h b/src/journal/journald-syslog.h
index 7fb8e42946..8845d28df2 100644
--- a/src/journal/journald-syslog.h
+++ b/src/journal/journald-syslog.h
@@ -23,9 +23,11 @@
#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);