chiark / gitweb /
journald: mention how long we needed to flush to /var in the logs
[elogind.git] / src / journal / journald-syslog.h
index 7fb8e429466044fecf90182de7d0bc83b3867c7f..8ccdb77a0928b0c07c59a7940ad971d86ffe361d 100644 (file)
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-#include "journald.h"
+#include "journald-server.h"
 
-void syslog_read_identifier(const char **buf, char **identifier, char **pid);
-int syslog_fixup_facility(int priority);
+int syslog_fixup_facility(int priority) _const_;
+
+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);
 
 void server_process_syslog_message(Server *s, const char *buf, struct ucred *ucred, struct timeval *tv, const char *label, size_t label_len);
 int server_open_syslog_socket(Server *s);
+
+void server_maybe_warn_forward_syslog_missed(Server *s);