diff options
author | Vic Lee <llyzs@163.com> | 2009-07-30 22:13:20 +0800 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-07-31 11:17:51 +0200 |
commit | 63053541e6bc477f0260b81871c2e8bf08e77ddd (patch) | |
tree | 4b4f82087f9e2a7736ce76780bffdbb2388fb85e /include | |
parent | a040e2e3dbb18399a5c4b48d6187d18cbbd6da78 (diff) | |
download | libssh-63053541e6bc477f0260b81871c2e8bf08e77ddd.tar.gz libssh-63053541e6bc477f0260b81871c2e8bf08e77ddd.tar.xz libssh-63053541e6bc477f0260b81871c2e8bf08e77ddd.zip |
Add x11 forwarding support for ssh client
Signed-off-by: Vic Lee <llyzs@163.com>
Signed-off-by: Andreas Schneider <mail@cynapses.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/libssh/libssh.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); |