xref: /titanic_50/usr/src/cmd/ssh/include/proxy-io.h (revision 015a6ef6781cc3ceba8ad3bfbae98449b6002a1f)
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