From 63053541e6bc477f0260b81871c2e8bf08e77ddd Mon Sep 17 00:00:00 2001 From: Vic Lee Date: Thu, 30 Jul 2009 22:13:20 +0800 Subject: Add x11 forwarding support for ssh client Signed-off-by: Vic Lee Signed-off-by: Andreas Schneider --- include/libssh/libssh.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/libssh/libssh.h') diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index 924992a2..5cf29235 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -284,6 +284,9 @@ int channel_request_subsystem(ssh_channel channel, const char *system); int channel_request_env(ssh_channel channel, const char *name, const char *value); int channel_request_exec(ssh_channel channel, const char *cmd); int channel_request_sftp(ssh_channel channel); +int channel_request_x11(ssh_channel channel, int single_connection, const char *protocol, + const char *cookie, int screen_number); +ssh_channel channel_accept_x11(ssh_channel channel, int timeout_ms); int channel_write(ssh_channel channel, const void *data, uint32_t len); int channel_send_eof(ssh_channel channel); int channel_is_eof(ssh_channel channel); -- cgit