diff options
| author | Aris Adamantiadis <aris@0xbadc0de.be> | 2011-08-30 21:27:36 +0300 |
|---|---|---|
| committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2011-09-02 11:43:11 +0300 |
| commit | cb2a111fa141f158baaae0f2fa6e474e6a2aca49 (patch) | |
| tree | 3056fe93b79c8c8c2fc4c0e2c9b2d6800a5217b5 /include/libssh | |
| parent | 555d1a43470d184cdfb0deedc39415c59b14a133 (diff) | |
| download | libssh-cb2a111fa141f158baaae0f2fa6e474e6a2aca49.tar.gz libssh-cb2a111fa141f158baaae0f2fa6e474e6a2aca49.tar.xz libssh-cb2a111fa141f158baaae0f2fa6e474e6a2aca49.zip | |
channel: implement ssh_channel_poll_timeout
Resolves bug #57
Diffstat (limited to 'include/libssh')
| -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 6aaffdb8..819318b1 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -341,6 +341,7 @@ LIBSSH_API int ssh_channel_open_forward(ssh_channel channel, const char *remoteh int remoteport, const char *sourcehost, int localport); LIBSSH_API int ssh_channel_open_session(ssh_channel channel); LIBSSH_API int ssh_channel_poll(ssh_channel channel, int is_stderr); +int ssh_channel_poll_timeout(ssh_channel channel, int timeout, int is_stderr); LIBSSH_API int ssh_channel_read(ssh_channel channel, void *dest, uint32_t count, int is_stderr); LIBSSH_API int ssh_channel_read_nonblocking(ssh_channel channel, void *dest, uint32_t count, int is_stderr); |
