summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ssh/include/proxy-io.h
diff options
context:
space:
mode:
authorstevel@tonic-gate <none@none>2005-06-14 00:00:00 -0700
committerstevel@tonic-gate <none@none>2005-06-14 00:00:00 -0700
commit7c478bd95313f5f23a4c958a745db2134aa03244 (patch)
treec871e58545497667cbb4b0a4f2daf204743e1fe7 /usr/src/cmd/ssh/include/proxy-io.h
downloadillumos-joyent-7c478bd95313f5f23a4c958a745db2134aa03244.tar.gz
OpenSolaris Launch
Diffstat (limited to 'usr/src/cmd/ssh/include/proxy-io.h')
-rw-r--r--usr/src/cmd/ssh/include/proxy-io.h27
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 */