diff options
author | Damien Miller <djm@mindrot.org> | 2000-05-17 22:34:22 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-05-17 22:34:22 +1000 |
commit | dcb6ecd1b3b25b6909296ff0546ca6b18d0c19d3 (patch) | |
tree | 7eb6d184356f6aa00e62c71565568db706f2e960 /ssh.h | |
parent | 0e65eed58acc0053d163e96463a7c4d0684e55bd (diff) | |
download | openssh-git-dcb6ecd1b3b25b6909296ff0546ca6b18d0c19d3.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 |