summaryrefslogtreecommitdiff
path: root/log.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-02-05 12:26:34 +1100
committerDamien Miller <djm@mindrot.org>2002-02-05 12:26:34 +1100
commitfcd9320440c7eb2758659ec2ac19b99054e43044 (patch)
treebb61ee56c4a5311027d9ac7e593a5f957267ab2f /log.h
parent9b74bfc5be938d1bf5012c997c463b621c4fbffd (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.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/log.h b/log.h
index 23451f74f..8ab5c0939 100644
--- a/log.h
+++ b/log.h
@@ -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
38typedef enum { 39typedef 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
49void log_init(char *, LogLevel, SyslogFacility, int); 51void log_init(char *, LogLevel, SyslogFacility, int);