From df4c62212cc34dd19714751d1eada22fdccfa6da Mon Sep 17 00:00:00 2001 From: "Dmitry V. Krivenok" Date: Thu, 10 Sep 2009 13:34:40 +0400 Subject: Support for sending signals (RFC 4254, section 6.9). Added function int channel_request_send_signal(ssh_channel channel, const char *signal); which implements signals delivery (as described in RFC 4254). Only SSH-v2 is currently supported. Signed-off-by: Dmitry V. Krivenok Signed-off-by: Andreas Schneider --- include/libssh/libssh.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/libssh') diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index f18e406..8ae0faf 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -332,6 +332,7 @@ LIBSSH_API int channel_request_shell(ssh_channel channel); LIBSSH_API int channel_request_subsystem(ssh_channel channel, const char *system); LIBSSH_API int channel_request_env(ssh_channel channel, const char *name, const char *value); LIBSSH_API int channel_request_exec(ssh_channel channel, const char *cmd); +LIBSSH_API int channel_request_send_signal(ssh_channel channel, const char *signal); LIBSSH_API int channel_request_sftp(ssh_channel channel); LIBSSH_API int channel_request_x11(ssh_channel channel, int single_connection, const char *protocol, const char *cookie, int screen_number); -- cgit