aboutsummaryrefslogtreecommitdiff
path: root/syslogd.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-10-28 13:29:42 +0100
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-10-28 14:25:50 +0100
commit200daf7dbbce90d4006d7dbf53affa48a110ed00 (patch)
tree939da07b50abf4a62de1b25c359e5345f1de50cc /syslogd.h
parent49f52b1571216a4bae3a4df9944c978e3a1fb854 (diff)
Import syslog utility program
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'syslogd.h')
-rw-r--r--syslogd.h6
1 files changed, 5 insertions, 1 deletions
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 */