From dcb6ecd1b3b25b6909296ff0546ca6b18d0c19d3 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Wed, 17 May 2000 22:34:22 +1000 Subject: - OpenBSD CVS update: - markus@cvs.openbsd.org [ssh.c] fix usage() [ssh2.h] draft-ietf-secsh-architecture-05.txt [ssh.1] document ssh -T -N (ssh2 only) [channels.c serverloop.c ssh.h sshconnect.c sshd.c aux.c] enable nonblocking IO for sshd w/ proto 1, too; split out common code [aux.c] missing include --- ssh.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'ssh.h') diff --git a/ssh.h b/ssh.h index 42a710088..ed124cece 100644 --- a/ssh.h +++ b/ssh.h @@ -13,7 +13,7 @@ * */ -/* RCSID("$Id: ssh.h,v 1.39 2000/05/09 01:03:02 damien Exp $"); */ +/* RCSID("$Id: ssh.h,v 1.40 2000/05/17 12:34:24 damien Exp $"); */ #ifndef SSH_H #define SSH_H @@ -486,6 +486,12 @@ void fatal_remove_cleanup(void (*proc) (void *context), void *context); */ char *tilde_expand_filename(const char *filename, uid_t my_uid); +/* remove newline at end of string */ +char *chop(char *s); + +/* set filedescriptor to non-blocking */ +void set_nonblock(int fd); + /* * Performs the interactive session. This handles data transmission between * the client and the program. Note that the notion of stdin, stdout, and -- cgit v1.2.3