diff options
author | milo <milo@r0ot.me> | 2011-04-20 02:06:43 +0200 |
---|---|---|
committer | milo <milo@r0ot.me> | 2011-05-02 16:58:27 +0200 |
commit | 7ba09388464f0437da2833b81e268744b20a68fe (patch) | |
tree | 313c3f11bb28983b59ff25236daa3e31661edf2d /include/libssh/libssh.h | |
parent | 3ae01ff9f5b3e1f2ebded97ff36a705ae3b17b30 (diff) | |
download | libssh-7ba09388464f0437da2833b81e268744b20a68fe.tar.gz libssh-7ba09388464f0437da2833b81e268744b20a68fe.tar.xz libssh-7ba09388464f0437da2833b81e268744b20a68fe.zip |
[channels] Added ssh_channel_window_size() and avoided reentrancy in channel_write_common()
(cherry picked from commit 27313334578f4acb7ccf0687bba7f76b2febd569)
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 5137cbb3..101508ed 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -359,6 +359,7 @@ LIBSSH_API int ssh_channel_select(ssh_channel *readchans, ssh_channel *writechan timeval * timeout); LIBSSH_API void ssh_channel_set_blocking(ssh_channel channel, int blocking); LIBSSH_API int ssh_channel_write(ssh_channel channel, const void *data, uint32_t len); +LIBSSH_API uint32_t ssh_channel_window_size(ssh_channel channel); LIBSSH_API int ssh_try_publickey_from_file(ssh_session session, const char *keyfile, ssh_string *publickey, int *type); |