diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2011-03-22 11:49:57 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-03-23 08:49:26 +0100 |
commit | b7f6794e03f4e1f20f78967656c7a7d6d6b1940a (patch) | |
tree | 1ce9d5df4d1b0342203056b00803eef1067fc25c /include/libssh/libssh.h | |
parent | cd9fc88151fb66225297ec3a278a2d9756544b38 (diff) | |
download | libssh-b7f6794e03f4e1f20f78967656c7a7d6d6b1940a.tar.gz libssh-b7f6794e03f4e1f20f78967656c7a7d6d6b1940a.tar.xz libssh-b7f6794e03f4e1f20f78967656c7a7d6d6b1940a.zip |
Implement ssh_blocking_flush()
Based on code from Jan Willamowius
(cherry picked from commit dff4e4e6d3a56123b00df48fdcd7a6de0a275aef)
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r-- | include/libssh/libssh.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index a215c31e..13efea5a 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -323,6 +323,7 @@ enum ssh_scp_request_types { SSH_SCP_REQUEST_WARNING }; +LIBSSH_API int ssh_blocking_flush(ssh_session session, int timeout); LIBSSH_API ssh_channel ssh_channel_accept_x11(ssh_channel channel, int timeout_ms); LIBSSH_API int ssh_channel_change_pty_size(ssh_channel channel,int cols,int rows); LIBSSH_API int ssh_channel_close(ssh_channel channel); |