diff options
author | damien <damien> | 2000-05-17 12:34:22 +0000 |
---|---|---|
committer | damien <damien> | 2000-05-17 12:34:22 +0000 |
commit | f6cfa736bb4e04f59e167288fddc3bf9a5447cb0 (patch) | |
tree | 64efbbb3eeb2d5167f00ad5f36cbabe251e859d3 /ssh.h | |
parent | 968b92b08bd4f172e0511c8425af1afeb7cbb5eb (diff) | |
download | openssh-f6cfa736bb4e04f59e167288fddc3bf9a5447cb0.tar.gz |
- 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
Diffstat (limited to 'ssh.h')
-rw-r--r-- | ssh.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |