]> granicus.if.org Git - ngircd/commit
New functions ngt_SyslogFacilityName() and ngt_SyslogFacilityID()
authorAlexander Barton <alex@barton.de>
Fri, 24 Sep 2010 14:29:55 +0000 (16:29 +0200)
committerAlexander Barton <alex@barton.de>
Fri, 24 Sep 2010 14:29:55 +0000 (16:29 +0200)
commit4943bbb066bb49603743ae03846689d2f82441b6
treec0532e6b04cc155ff2f4df28d6dd087bccca97fe
parente2ba7e08b4a4ca73a74c10e7189b46f6d8dcfc75
New functions ngt_SyslogFacilityName() and ngt_SyslogFacilityID()

These both functions translate syslog facility names to ID numbers
and vice versa. On systems that don't define the facilitynames[] array
in syslog.h, we try to build one ourself.
src/tool/tool.c
src/tool/tool.h