chiark / gitweb /
journald: mention how long we needed to flush to /var in the logs
[elogind.git] / src / journal / journald-syslog.h
index e009ab7e721b4570626826a3e3efa7a60c2aa4ff..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_identifier(const char **buf, char **identifier, char **pid);
+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);