aboutsummaryrefslogtreecommitdiff
path: root/include/libssh
diff options
context:
space:
mode:
Diffstat (limited to 'include/libssh')
-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 b4116dc2..1a7fd4e6 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);