diff options
author | milo <milo@r0ot.me> | 2011-04-20 02:06:43 +0200 |
---|---|---|
committer | milo <milo@r0ot.me> | 2011-05-02 17:35:34 +0200 |
commit | bb784ec6be1b15c1895d4ec6fb31e35bc29dec81 (patch) | |
tree | 765442f8b58a17fef88beeaf46ac2098c5e522ce /include/libssh/libssh.h | |
parent | 996c00c81c469ac0d8e8c027ad0650abdc6fc952 (diff) | |
download | libssh-bb784ec6be1b15c1895d4ec6fb31e35bc29dec81.tar.gz libssh-bb784ec6be1b15c1895d4ec6fb31e35bc29dec81.tar.xz libssh-bb784ec6be1b15c1895d4ec6fb31e35bc29dec81.zip |
[channels] Added ssh_channel_window_size() and avoided reentrancy in channel_write_common()
(cherry picked from commit 7ba09388464f0437da2833b81e268744b20a68fe)
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 13efea5a..dfff78cc 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -357,6 +357,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); |