aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/libssh.h
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2013-04-02 22:58:17 +0200
committerAndreas Schneider <asn@cryptomilk.org>2013-07-13 14:58:06 +0200
commit458e4c07c7bd54f62e769f804ed40a3c29774b86 (patch)
tree8f017174fc0a662d9a69df5e3187c5a394fb6169 /include/libssh/libssh.h
parent7555f3235e183bd07d1841d74b36defd986dcb9f (diff)
downloadlibssh-458e4c07c7bd54f62e769f804ed40a3c29774b86.tar.gz
libssh-458e4c07c7bd54f62e769f804ed40a3c29774b86.tar.xz
libssh-458e4c07c7bd54f62e769f804ed40a3c29774b86.zip
server: export ssh_channel_open_x11()
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r--include/libssh/libssh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 958ff57b..dd736322 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -366,6 +366,7 @@ LIBSSH_API int ssh_channel_open_auth_agent(ssh_channel channel);
LIBSSH_API int ssh_channel_open_forward(ssh_channel channel, const char *remotehost,
int remoteport, const char *sourcehost, int localport);
LIBSSH_API int ssh_channel_open_session(ssh_channel channel);
+LIBSSH_API int ssh_channel_open_x11(ssh_channel channel, const char *orig_addr, int orig_port);
LIBSSH_API int ssh_channel_poll(ssh_channel channel, int is_stderr);
LIBSSH_API int ssh_channel_poll_timeout(ssh_channel channel, int timeout, int is_stderr);
LIBSSH_API int ssh_channel_read(ssh_channel channel, void *dest, uint32_t count, int is_stderr);