aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormilo <milo@r0ot.me>2010-09-29 23:33:25 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2010-10-02 22:51:49 +0200
commit26170241363b6b1911b5515f23fc38ff081296cf (patch)
tree15c88554da41a13e975784ecc07cc91500a9c9c1 /include
parent26d40b5354d6760472127f2c16045fbbb2f12fee (diff)
downloadlibssh-26170241363b6b1911b5515f23fc38ff081296cf.tar.gz
libssh-26170241363b6b1911b5515f23fc38ff081296cf.tar.xz
libssh-26170241363b6b1911b5515f23fc38ff081296cf.zip
Added channel features on the server
- ssh_channel_request_send_exit_status() - ssh_channel_request_send_exit_signal() - enhanced these features client-side
Diffstat (limited to 'include')
-rw-r--r--include/libssh/server.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/libssh/server.h b/include/libssh/server.h
index b4116dc..1a7fd4e 100644
--- a/include/libssh/server.h
+++ b/include/libssh/server.h
@@ -192,6 +192,14 @@ 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_request_send_exit_status(ssh_channel channel,
+ int exit_status);
+LIBSSH_API int ssh_channel_request_send_exit_signal(ssh_channel channel,
+ const char *signum,
+ int core,
+ const char *errmsg,
+ const char *lang);
+
/* deprecated functions */
SSH_DEPRECATED LIBSSH_API int ssh_accept(ssh_session session);