chiark / gitweb /
journald: mention how long we needed to flush to /var in the logs
[elogind.git] / src / journal / journald-syslog.h
index fa9de1a951c46c3330ca14d4cdf1658bba60f3ae..8ccdb77a0928b0c07c59a7940ad971d86ffe361d 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_priority(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);