From 585dc667de870922b14ce5a99c088c1a68de7934 Mon Sep 17 00:00:00 2001 From: kris Date: Sat, 3 Jun 2000 09:20:19 +0000 Subject: Import from vendor repository. Obtained from: OpenBSD --- crypto/openssh/ssh.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'crypto/openssh/ssh.h') diff --git a/crypto/openssh/ssh.h b/crypto/openssh/ssh.h index 0762c96..8f6d1e7 100644 --- a/crypto/openssh/ssh.h +++ b/crypto/openssh/ssh.h @@ -13,7 +13,7 @@ * */ -/* RCSID("$Id: ssh.h,v 1.45 2000/05/08 17:12:16 markus Exp $"); */ +/* RCSID("$Id: ssh.h,v 1.46 2000/05/17 08:20:15 markus Exp $"); */ #ifndef SSH_H #define SSH_H @@ -447,6 +447,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.1