=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/log.h,v retrieving revision 1.2.6.1 retrieving revision 1.2.6.2 diff -u -r1.2.6.1 -r1.2.6.2 --- src/usr.bin/ssh/log.h 2001/09/27 19:03:54 1.2.6.1 +++ src/usr.bin/ssh/log.h 2002/03/09 00:20:44 1.2.6.2 @@ -1,4 +1,4 @@ -/* $OpenBSD: log.h,v 1.2.6.1 2001/09/27 19:03:54 jason Exp $ */ +/* $OpenBSD: log.h,v 1.2.6.2 2002/03/09 00:20:44 miod Exp $ */ /* * Author: Tatu Ylonen @@ -27,7 +27,8 @@ SYSLOG_FACILITY_LOCAL4, SYSLOG_FACILITY_LOCAL5, SYSLOG_FACILITY_LOCAL6, - SYSLOG_FACILITY_LOCAL7 + SYSLOG_FACILITY_LOCAL7, + SYSLOG_FACILITY_NOT_SET = -1, } SyslogFacility; typedef enum { @@ -38,7 +39,8 @@ 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); @@ -57,5 +59,7 @@ void fatal_cleanup(void); void fatal_add_cleanup(void (*) (void *), void *); void fatal_remove_cleanup(void (*) (void *), void *); + +void do_log(LogLevel, const char *, va_list); #endif