summaryrefslogtreecommitdiffstats
path: root/include/libssh/libssh.h
diff options
context:
space:
mode:
authorDmitry V. Krivenok <krivenok@orangesystem.ru>2009-09-10 13:34:40 +0400
committerAndreas Schneider <mail@cynapses.org>2009-09-10 12:34:58 +0200
commitdf4c62212cc34dd19714751d1eada22fdccfa6da (patch)
tree13192d479437e3f4da70e18210446cd8816b52b4 /include/libssh/libssh.h
parent97b6036cbf3e444384a8e9b7f082e22d9ea64fe1 (diff)
downloadlibssh-df4c62212cc34dd19714751d1eada22fdccfa6da.tar.gz
libssh-df4c62212cc34dd19714751d1eada22fdccfa6da.tar.xz
libssh-df4c62212cc34dd19714751d1eada22fdccfa6da.zip
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 <krivenok@orangesystem.ru> Signed-off-by: Andreas Schneider <mail@cynapses.org>
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r--include/libssh/libssh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index f18e4066..8ae0faf3 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);