aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormilo <milo@r0ot.me>2010-09-29 23:53:56 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2010-10-02 22:52:06 +0200
commit524302ca7e8dfdc11bc6aec3efa37889139ed294 (patch)
tree2d839924127ddadb6896e99dbb61308de3525ee3 /include
parent26170241363b6b1911b5515f23fc38ff081296cf (diff)
downloadlibssh-524302ca7e8dfdc11bc6aec3efa37889139ed294.tar.gz
libssh-524302ca7e8dfdc11bc6aec3efa37889139ed294.tar.xz
libssh-524302ca7e8dfdc11bc6aec3efa37889139ed294.zip
Added ssh_channel_write_stderr() for the server
Diffstat (limited to 'include')
-rw-r--r--include/libssh/server.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libssh/server.h b/include/libssh/server.h
index 1a7fd4e6..048abcdc 100644
--- a/include/libssh/server.h
+++ b/include/libssh/server.h
@@ -199,6 +199,9 @@ LIBSSH_API int ssh_channel_request_send_exit_signal(ssh_channel channel,
int core,
const char *errmsg,
const char *lang);
+LIBSSH_API int ssh_channel_write_stderr(ssh_channel channel,
+ const void *data,
+ uint32_t len);
/* deprecated functions */
SSH_DEPRECATED LIBSSH_API int ssh_accept(ssh_session session);