diff options
author | Damien Miller <djm@mindrot.org> | 2002-02-05 02:26:34 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2002-02-05 02:26:34 +0100 |
commit | fcd9320440c7eb2758659ec2ac19b99054e43044 (patch) | |
tree | bb61ee56c4a5311027d9ac7e593a5f957267ab2f /log.h | |
parent | - markus@cvs.openbsd.org 2002/02/04 11:58:10 (diff) | |
download | openssh-fcd9320440c7eb2758659ec2ac19b99054e43044.tar.xz openssh-fcd9320440c7eb2758659ec2ac19b99054e43044.zip |
- markus@cvs.openbsd.org 2002/02/04 12:15:25
[log.c log.h readconf.c servconf.c]
add SYSLOG_FACILITY_NOT_SET = -1, SYSLOG_LEVEL_NOT_SET = -1,
fixes arm/netbsd; based on patch from bjh21@netbsd.org; ok djm@
Diffstat (limited to 'log.h')
-rw-r--r-- | log.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: log.h,v 1.4 2001/06/26 17:27:24 markus Exp $ */ +/* $OpenBSD: log.h,v 1.5 2002/02/04 12:15:25 markus Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -32,7 +32,8 @@ typedef enum { SYSLOG_FACILITY_LOCAL4, SYSLOG_FACILITY_LOCAL5, SYSLOG_FACILITY_LOCAL6, - SYSLOG_FACILITY_LOCAL7 + SYSLOG_FACILITY_LOCAL7, + SYSLOG_FACILITY_NOT_SET = -1, } SyslogFacility; typedef enum { @@ -43,7 +44,8 @@ typedef enum { SYSLOG_LEVEL_VERBOSE, SYSLOG_LEVEL_DEBUG1, SYSLOG_LEVEL_DEBUG2, - SYSLOG_LEVEL_DEBUG3 + SYSLOG_LEVEL_DEBUG3, + SYSLOG_LEVEL_NOT_SET = -1, } LogLevel; void log_init(char *, LogLevel, SyslogFacility, int); |