diff options
author | Damien Miller <djm@mindrot.org> | 2002-02-05 12:26:34 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2002-02-05 12:26:34 +1100 |
commit | fcd9320440c7eb2758659ec2ac19b99054e43044 (patch) | |
tree | bb61ee56c4a5311027d9ac7e593a5f957267ab2f /log.h | |
parent | 9b74bfc5be938d1bf5012c997c463b621c4fbffd (diff) |
- 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 @@ | |||
1 | /* $OpenBSD: log.h,v 1.4 2001/06/26 17:27:24 markus Exp $ */ | 1 | /* $OpenBSD: log.h,v 1.5 2002/02/04 12:15:25 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -32,7 +32,8 @@ typedef enum { | |||
32 | SYSLOG_FACILITY_LOCAL4, | 32 | SYSLOG_FACILITY_LOCAL4, |
33 | SYSLOG_FACILITY_LOCAL5, | 33 | SYSLOG_FACILITY_LOCAL5, |
34 | SYSLOG_FACILITY_LOCAL6, | 34 | SYSLOG_FACILITY_LOCAL6, |
35 | SYSLOG_FACILITY_LOCAL7 | 35 | SYSLOG_FACILITY_LOCAL7, |
36 | SYSLOG_FACILITY_NOT_SET = -1, | ||
36 | } SyslogFacility; | 37 | } SyslogFacility; |
37 | 38 | ||
38 | typedef enum { | 39 | typedef enum { |
@@ -43,7 +44,8 @@ typedef enum { | |||
43 | SYSLOG_LEVEL_VERBOSE, | 44 | SYSLOG_LEVEL_VERBOSE, |
44 | SYSLOG_LEVEL_DEBUG1, | 45 | SYSLOG_LEVEL_DEBUG1, |
45 | SYSLOG_LEVEL_DEBUG2, | 46 | SYSLOG_LEVEL_DEBUG2, |
46 | SYSLOG_LEVEL_DEBUG3 | 47 | SYSLOG_LEVEL_DEBUG3, |
48 | SYSLOG_LEVEL_NOT_SET = -1, | ||
47 | } LogLevel; | 49 | } LogLevel; |
48 | 50 | ||
49 | void log_init(char *, LogLevel, SyslogFacility, int); | 51 | void log_init(char *, LogLevel, SyslogFacility, int); |