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