summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh.h
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2000-09-12 20:53:10 +0000
committermarkus <markus@openbsd.org>2000-09-12 20:53:10 +0000
commit90551a2024feac170ee3240f7795c02272d09a7d (patch)
treeb3e98a7f3f789de985dcb2fe5e084e11821b964f /usr.bin/ssh/ssh.h
parentHelp stupid cvs fixing basic conflicts. (diff)
downloadwireguard-openbsd-90551a2024feac170ee3240f7795c02272d09a7d.tar.xz
wireguard-openbsd-90551a2024feac170ee3240f7795c02272d09a7d.zip
multiple debug levels
Diffstat (limited to 'usr.bin/ssh/ssh.h')
-rw-r--r--usr.bin/ssh/ssh.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh.h b/usr.bin/ssh/ssh.h
index f48012f46d8..0200307690e 100644
--- a/usr.bin/ssh/ssh.h
+++ b/usr.bin/ssh/ssh.h
@@ -12,7 +12,7 @@
* called by a name other than "ssh" or "Secure Shell".
*/
-/* RCSID("$OpenBSD: ssh.h,v 1.50 2000/09/07 20:27:54 deraadt Exp $"); */
+/* RCSID("$OpenBSD: ssh.h,v 1.51 2000/09/12 20:53:10 markus Exp $"); */
#ifndef SSH_H
#define SSH_H
@@ -406,7 +406,9 @@ typedef enum {
SYSLOG_LEVEL_ERROR,
SYSLOG_LEVEL_INFO,
SYSLOG_LEVEL_VERBOSE,
- SYSLOG_LEVEL_DEBUG
+ SYSLOG_LEVEL_DEBUG1,
+ SYSLOG_LEVEL_DEBUG2,
+ SYSLOG_LEVEL_DEBUG3
} LogLevel;
/* Initializes logging. */
void log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr);
@@ -424,6 +426,8 @@ void error(const char *fmt,...) __attribute__((format(printf, 1, 2)));
void log(const char *fmt,...) __attribute__((format(printf, 1, 2)));
void verbose(const char *fmt,...) __attribute__((format(printf, 1, 2)));
void debug(const char *fmt,...) __attribute__((format(printf, 1, 2)));
+void debug2(const char *fmt,...) __attribute__((format(printf, 1, 2)));
+void debug3(const char *fmt,...) __attribute__((format(printf, 1, 2)));
/* same as fatal() but w/o logging */
void fatal_cleanup(void);