summaryrefslogtreecommitdiff
path: root/ssh.h
diff options
context:
space:
mode:
Diffstat (limited to 'ssh.h')
-rw-r--r--ssh.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/ssh.h b/ssh.h
index f21dee494..cc612d0d4 100644
--- a/ssh.h
+++ b/ssh.h
@@ -1,19 +1,18 @@
1/* 1/*
2 *
3 * ssh.h
4 *
5 * Author: Tatu Ylonen <ylo@cs.hut.fi> 2 * Author: Tatu Ylonen <ylo@cs.hut.fi>
6 *
7 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 3 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
8 * All rights reserved 4 * All rights reserved
9 * 5 *
10 * Created: Fri Mar 17 17:09:37 1995 ylo
11 *
12 * Generic header file for ssh. 6 * Generic header file for ssh.
13 * 7 *
8 * As far as I am concerned, the code I have written for this software
9 * can be used freely for any purpose. Any derived versions of this
10 * software must be clearly marked as such, and if the derived work is
11 * incompatible with the protocol description in the RFC file, it must be
12 * called by a name other than "ssh" or "Secure Shell".
14 */ 13 */
15 14
16/* RCSID("$OpenBSD: ssh.h,v 1.49 2000/08/19 18:48:11 markus Exp $"); */ 15/* RCSID("$OpenBSD: ssh.h,v 1.51 2000/09/12 20:53:10 markus Exp $"); */
17 16
18#ifndef SSH_H 17#ifndef SSH_H
19#define SSH_H 18#define SSH_H
@@ -450,7 +449,9 @@ typedef enum {
450 SYSLOG_LEVEL_ERROR, 449 SYSLOG_LEVEL_ERROR,
451 SYSLOG_LEVEL_INFO, 450 SYSLOG_LEVEL_INFO,
452 SYSLOG_LEVEL_VERBOSE, 451 SYSLOG_LEVEL_VERBOSE,
453 SYSLOG_LEVEL_DEBUG 452 SYSLOG_LEVEL_DEBUG1,
453 SYSLOG_LEVEL_DEBUG2,
454 SYSLOG_LEVEL_DEBUG3
454} LogLevel; 455} LogLevel;
455/* Initializes logging. */ 456/* Initializes logging. */
456void log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr); 457void log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr);
@@ -468,6 +469,8 @@ void error(const char *fmt,...) __attribute__((format(printf, 1, 2)));
468void log(const char *fmt,...) __attribute__((format(printf, 1, 2))); 469void log(const char *fmt,...) __attribute__((format(printf, 1, 2)));
469void verbose(const char *fmt,...) __attribute__((format(printf, 1, 2))); 470void verbose(const char *fmt,...) __attribute__((format(printf, 1, 2)));
470void debug(const char *fmt,...) __attribute__((format(printf, 1, 2))); 471void debug(const char *fmt,...) __attribute__((format(printf, 1, 2)));
472void debug2(const char *fmt,...) __attribute__((format(printf, 1, 2)));
473void debug3(const char *fmt,...) __attribute__((format(printf, 1, 2)));
471 474
472/* same as fatal() but w/o logging */ 475/* same as fatal() but w/o logging */
473void fatal_cleanup(void); 476void fatal_cleanup(void);