diff options
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); |