summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-11-27 11:42:33 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-11-27 11:42:33 +0000
commita63733a27752be4e12fb612a5b3f79f8a44b2339 (patch)
tree74057ad892ebfc8436d70df73c8ea548aabce2dc /syslogd.c
parentf512ce10ab3067de0518dfaa39492e0321712f5a (diff)
downloadrsyslog-a63733a27752be4e12fb612a5b3f79f8a44b2339.tar.gz
rsyslog-a63733a27752be4e12fb612a5b3f79f8a44b2339.tar.xz
rsyslog-a63733a27752be4e12fb612a5b3f79f8a44b2339.zip
moved syslog PRI code tables to msg.c as this is the only place where they
are still needed
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c44
1 files changed, 0 insertions, 44 deletions
diff --git a/syslogd.c b/syslogd.c
index 5a087839..bd0acb26 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -238,50 +238,6 @@
#define LOG_FTP (11<<3) /* ftp daemon */
#define INTERNAL_MARK LOG_MAKEPRI((LOG_NFACILITIES<<3), 0)
-syslogCODE rs_prioritynames[] =
- {
- { "alert", LOG_ALERT },
- { "crit", LOG_CRIT },
- { "debug", LOG_DEBUG },
- { "emerg", LOG_EMERG },
- { "err", LOG_ERR },
- { "error", LOG_ERR }, /* DEPRECATED */
- { "info", LOG_INFO },
- { "none", INTERNAL_NOPRI }, /* INTERNAL */
- { "notice", LOG_NOTICE },
- { "panic", LOG_EMERG }, /* DEPRECATED */
- { "warn", LOG_WARNING }, /* DEPRECATED */
- { "warning", LOG_WARNING },
- { NULL, -1 }
- };
-
-syslogCODE rs_facilitynames[] =
- {
- { "auth", LOG_AUTH },
- { "authpriv", LOG_AUTHPRIV },
- { "cron", LOG_CRON },
- { "daemon", LOG_DAEMON },
- { "ftp", LOG_FTP },
- { "kern", LOG_KERN },
- { "lpr", LOG_LPR },
- { "mail", LOG_MAIL },
- { "mark", INTERNAL_MARK }, /* INTERNAL */
- { "news", LOG_NEWS },
- { "security", LOG_AUTH }, /* DEPRECATED */
- { "syslog", LOG_SYSLOG },
- { "user", LOG_USER },
- { "uucp", LOG_UUCP },
- { "local0", LOG_LOCAL0 },
- { "local1", LOG_LOCAL1 },
- { "local2", LOG_LOCAL2 },
- { "local3", LOG_LOCAL3 },
- { "local4", LOG_LOCAL4 },
- { "local5", LOG_LOCAL5 },
- { "local6", LOG_LOCAL6 },
- { "local7", LOG_LOCAL7 },
- { NULL, -1 }
- };
-
#ifndef UTMP_FILE
#ifdef UTMP_FILENAME