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