summaryrefslogtreecommitdiffstats
path: root/include/libssh/socket.h
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2011-03-22 11:49:57 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2011-03-22 11:49:57 +0100
commitdff4e4e6d3a56123b00df48fdcd7a6de0a275aef (patch)
tree35e1831a4ad969223bdf342bb629fed13393865e /include/libssh/socket.h
parent79b74bdf64e55f407b448fda267589f793ddc19e (diff)
downloadlibssh-dff4e4e6d3a56123b00df48fdcd7a6de0a275aef.tar.gz
libssh-dff4e4e6d3a56123b00df48fdcd7a6de0a275aef.tar.xz
libssh-dff4e4e6d3a56123b00df48fdcd7a6de0a275aef.zip
Implement ssh_blocking_flush()
Based on code from Jan Willamowius
Diffstat (limited to 'include/libssh/socket.h')
-rw-r--r--include/libssh/socket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/socket.h b/include/libssh/socket.h
index 625dc1c..527f52e 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);