From 458e4c07c7bd54f62e769f804ed40a3c29774b86 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Tue, 2 Apr 2013 22:58:17 +0200 Subject: server: export ssh_channel_open_x11() Reviewed-by: Andreas Schneider --- include/libssh/libssh.h | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3