From 200daf7dbbce90d4006d7dbf53affa48a110ed00 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 28 Oct 2018 13:29:42 +0100 Subject: Import syslog utility program Signed-off-by: David Oberhollenzer --- syslogd.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'syslogd.h') diff --git a/syslogd.h b/syslogd.h index 740d90e..0935d1a 100644 --- a/syslogd.h +++ b/syslogd.h @@ -76,6 +76,10 @@ int mksock(const char *path); const char *level_id_to_string(int level); -const char *facility_id_to_string(int level); +const char *facility_id_to_string(int id); + +int level_id_from_string(const char *level); + +int facility_id_from_string(const char *fac); #endif /* LOGFILE_H */ -- cgit v1.2.3