diff options
author | Nicolas Viennot <nicolas@viennot.biz> | 2013-11-06 20:08:11 -0500 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2013-11-24 23:21:04 +0100 |
commit | 7b63fe2f2226a36421f56a6b880665c77e2ac825 (patch) | |
tree | 5464cfa1be1079dbd355e1927c9bca5c8a84d5e0 /include | |
parent | 3d934f3ddc6bffd87db7b924ea6e6add138ebf6f (diff) | |
download | libssh-7b63fe2f2226a36421f56a6b880665c77e2ac825.tar.gz libssh-7b63fe2f2226a36421f56a6b880665c77e2ac825.tar.xz libssh-7b63fe2f2226a36421f56a6b880665c77e2ac825.zip |
server: Add a ssh_send_keepalive() function.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/libssh/server.h | 2 |
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, |