summaryrefslogtreecommitdiffstats
path: root/include/libssh/socket.h
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2010-05-10 22:32:52 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2010-05-10 22:32:52 +0200
commitbae409071522ae65c02bc36fccb87ee2a7179edf (patch)
tree0481d1b62e6281b8de5b15ea78dd76ce0a681c9b /include/libssh/socket.h
parent403ded1e978f716769ade6d099b2419e4fceaff7 (diff)
Backport of the proxycommand feature
Diffstat (limited to 'include/libssh/socket.h')
-rw-r--r--include/libssh/socket.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libssh/socket.h b/include/libssh/socket.h
index bb54c7ea..ade755d7 100644
--- a/include/libssh/socket.h
+++ b/include/libssh/socket.h
@@ -52,4 +52,10 @@ int ssh_socket_get_status(struct socket *s);
int ssh_socket_data_available(struct socket *s);
int ssh_socket_data_writable(struct socket *s);
+#ifndef _WIN32
+void ssh_execute_command(const char *command, socket_t in, socket_t out);
+socket_t ssh_socket_connect_proxycommand(ssh_session session,
+ const char *command);
+#endif
+
#endif /* SOCKET_H_ */