summaryrefslogtreecommitdiffstats
path: root/include/libssh/libssh.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/libssh.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/libssh.h')
-rw-r--r--include/libssh/libssh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 504aac9..268d429 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -324,6 +324,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);