diff options
Diffstat (limited to 'usr/src/cmd/ssh/include/proxy-io.h')
-rw-r--r-- | usr/src/cmd/ssh/include/proxy-io.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/usr/src/cmd/ssh/include/proxy-io.h b/usr/src/cmd/ssh/include/proxy-io.h new file mode 100644 index 0000000000..e240118c8d --- /dev/null +++ b/usr/src/cmd/ssh/include/proxy-io.h @@ -0,0 +1,27 @@ +/* + * Copyright 2003 Sun Microsystems, Inc. All rights reserved. + * Use is subject to license terms. + */ + +#ifndef _PROXY_IO_H +#define _PROXY_IO_H + +#pragma ident "%Z%%M% %I% %E% SMI" + +/* + * Read/write loop for ssh proxies. + */ + +#ifdef __cplusplus +extern "C" { +#endif + +#define BUFFER_SIZ 8192 + +int proxy_read_write_loop(int readfd, int writefd); + +#ifdef __cplusplus +} +#endif + +#endif /* _PROXY_IO_H */ |