aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/server.h
diff options
context:
space:
mode:
authormilo <milo@r0ot.me>2011-03-11 13:39:29 +0100
committermilo <milo@r0ot.me>2011-04-14 13:32:16 +0200
commita3cddd5fad88499255399fb469fee52f1a3e48fc (patch)
tree94ee1d003931dedf5b8a9572bf6bff7e3f9913f2 /include/libssh/server.h
parent89a3385b98ff4def869b88e6b28559a7df51a2a0 (diff)
downloadlibssh-a3cddd5fad88499255399fb469fee52f1a3e48fc.tar.gz
libssh-a3cddd5fad88499255399fb469fee52f1a3e48fc.tar.xz
libssh-a3cddd5fad88499255399fb469fee52f1a3e48fc.zip
Implemented X11 server side
Diffstat (limited to 'include/libssh/server.h')
-rw-r--r--include/libssh/server.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/libssh/server.h b/include/libssh/server.h
index 78dea2b..cb12c13 100644
--- a/include/libssh/server.h
+++ b/include/libssh/server.h
@@ -325,11 +325,18 @@ LIBSSH_API const char *ssh_message_channel_request_command(ssh_message msg);
LIBSSH_API const char *ssh_message_channel_request_subsystem(ssh_message msg);
+LIBSSH_API int ssh_message_channel_request_x11_single_connection(ssh_message msg);
+LIBSSH_API const char *ssh_message_channel_request_x11_auth_protocol(ssh_message msg);
+LIBSSH_API const char *ssh_message_channel_request_x11_auth_cookie(ssh_message msg);
+LIBSSH_API int ssh_message_channel_request_x11_screen_number(ssh_message msg);
+
LIBSSH_API const char *ssh_message_global_request_address(ssh_message msg);
LIBSSH_API int ssh_message_global_request_port(ssh_message msg);
LIBSSH_API int ssh_channel_open_reverse_forward(ssh_channel channel, const char *remotehost,
int remoteport, const char *sourcehost, int localport);
+LIBSSH_API int ssh_channel_open_x11(ssh_channel channel,
+ const char *orig_addr, int orig_port);
LIBSSH_API int ssh_channel_request_send_exit_status(ssh_channel channel,
int exit_status);