xref: /titanic_41/usr/src/cmd/ssh/include/proxy-io.h (revision 40db2e2b777b79f3dd0d6d9629593a07f86b9c0a)
1 /*
2  * Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
3  * Use is subject to license terms.
4  */
5 
6 #ifndef	_PROXY_IO_H
7 #define	_PROXY_IO_H
8 
9 #pragma ident	"%Z%%M%	%I%	%E% SMI"
10 
11 /*
12  * Read/write loop for ssh proxies.
13  */
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 #define	BUFFER_SIZ	8192
20 
21 int proxy_read_write_loop(int readfd, int writefd);
22 
23 #ifdef __cplusplus
24 }
25 #endif
26 
27 #endif /* _PROXY_IO_H */
28