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