summaryrefslogtreecommitdiff
path: root/ssh.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-09-16 13:29:08 +1100
committerDamien Miller <djm@mindrot.org>2000-09-16 13:29:08 +1100
commite4340be5b3ff16f4d9ba5e3ea7e449dc1b6fa7a8 (patch)
treeaba9e2ae234edeb888b922c6a13b755c1248deea /ssh.h
parentf384c366d33cb435627743f7ea0ed3f966543d40 (diff)
- (djm) Merge OpenBSD changes:
- markus@cvs.openbsd.org 2000/09/05 02:59:57 [session.c] print hostname (not hushlogin) - markus@cvs.openbsd.org 2000/09/05 13:18:48 [authfile.c ssh-add.c] enable ssh-add -d for DSA keys - markus@cvs.openbsd.org 2000/09/05 13:20:49 [sftp-server.c] cleanup - markus@cvs.openbsd.org 2000/09/06 03:46:41 [authfile.h] prototype - deraadt@cvs.openbsd.org 2000/09/07 14:27:56 [ALL] cleanup copyright notices on all files. I have attempted to be accurate with the details. everything is now under Tatu's licence (which I copied from his readme), and/or the core-sdi bsd-ish thing for deattack, or various openbsd developers under a 2-term bsd licence. We're not changing any rules, just being accurate. - markus@cvs.openbsd.org 2000/09/07 14:40:30 [channels.c channels.h clientloop.c serverloop.c ssh.c] cleanup window and packet sizes for ssh2 flow control; ok niels - markus@cvs.openbsd.org 2000/09/07 14:53:00 [scp.c] typo - markus@cvs.openbsd.org 2000/09/07 15:13:37 [auth-options.c auth-options.h auth-rh-rsa.c auth-rsa.c auth.c] [authfile.h canohost.c channels.h compat.c hostfile.h log.c match.h] [pty.c readconf.c] some more Copyright fixes - markus@cvs.openbsd.org 2000/09/08 03:02:51 [README.openssh2] bye bye - deraadt@cvs.openbsd.org 2000/09/11 18:38:33 [LICENCE cipher.c] a few more comments about it being ARC4 not RC4 - markus@cvs.openbsd.org 2000/09/12 14:53:11 [log-client.c log-server.c log.c ssh.1 ssh.c ssh.h sshd.8 sshd.c] multiple debug levels - markus@cvs.openbsd.org 2000/09/14 14:25:15 [clientloop.c] typo - deraadt@cvs.openbsd.org 2000/09/15 01:13:51 [ssh-agent.c] check return value for setenv(3) for failure, and deal appropriately
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);