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/socket.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/socket.h')
-rw-r--r-- | include/libssh/socket.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/socket.h b/include/libssh/socket.h index 625dc1c3..527f52ed 100644 --- a/include/libssh/socket.h +++ b/include/libssh/socket.h @@ -53,6 +53,7 @@ void ssh_socket_set_write_wontblock(ssh_socket s); void ssh_socket_set_read_wontblock(ssh_socket s); void ssh_socket_set_except(ssh_socket s); int ssh_socket_get_status(ssh_socket s); +int ssh_socket_buffered_write_bytes(ssh_socket s); int ssh_socket_data_available(ssh_socket s); int ssh_socket_data_writable(ssh_socket s); |