aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/server.h
diff options
context:
space:
mode:
authorNicolas Viennot <nicolas@viennot.biz>2013-11-06 20:08:11 -0500
committerAndreas Schneider <asn@cryptomilk.org>2013-11-24 23:21:39 +0100
commit78e78642e7d5a7b23b28624f0f595de760105f43 (patch)
tree055305d13c5fd8b7b65337ba944ff0e5d3eb9bc6 /include/libssh/server.h
parent7ab0e3fe6258d04b9c2b9424c134e2cafafe78c0 (diff)
downloadlibssh-78e78642e7d5a7b23b28624f0f595de760105f43.tar.gz
libssh-78e78642e7d5a7b23b28624f0f595de760105f43.tar.xz
libssh-78e78642e7d5a7b23b28624f0f595de760105f43.zip
server: Add a ssh_send_keepalive() function.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh/server.h')
-rw-r--r--include/libssh/server.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/server.h b/include/libssh/server.h
index dbffecdd..9d095feb 100644
--- a/include/libssh/server.h
+++ b/include/libssh/server.h
@@ -382,6 +382,8 @@ LIBSSH_API int ssh_channel_write_stderr(ssh_channel channel,
const void *data,
uint32_t len);
+LIBSSH_API int ssh_send_keepalive(ssh_session session);
+
/* deprecated functions */
SSH_DEPRECATED LIBSSH_API int ssh_accept(ssh_session session);
SSH_DEPRECATED LIBSSH_API int channel_write_stderr(ssh_channel channel,