aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/libssh.h
diff options
context:
space:
mode:
authorJon Simons <jon@jonsimons.org>2014-01-28 20:42:59 -0800
committerAndreas Schneider <asn@cryptomilk.org>2014-02-02 22:21:07 +0100
commitf29f10876a3801a83af064f14f250c1a8d9c08a0 (patch)
tree47df6867932335e03b4353ef3028a9adec2f23cf /include/libssh/libssh.h
parent45d28c76829c96ff23d328c8420e936cf0ef1e72 (diff)
downloadlibssh-f29f10876a3801a83af064f14f250c1a8d9c08a0.tar.gz
libssh-f29f10876a3801a83af064f14f250c1a8d9c08a0.tar.xz
libssh-f29f10876a3801a83af064f14f250c1a8d9c08a0.zip
doc: correct ssh_channel_read_timeout units
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r--include/libssh/libssh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 31bcc869..b3f6ae4b 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -377,7 +377,7 @@ LIBSSH_API int ssh_channel_open_x11(ssh_channel channel, const char *orig_addr,
LIBSSH_API int ssh_channel_poll(ssh_channel channel, int is_stderr);
LIBSSH_API 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_timeout(ssh_channel channel, void *dest, uint32_t count, int is_stderr, int timeout);
+LIBSSH_API int ssh_channel_read_timeout(ssh_channel channel, void *dest, uint32_t count, int is_stderr, int timeout_ms);
LIBSSH_API int ssh_channel_read_nonblocking(ssh_channel channel, void *dest, uint32_t count,
int is_stderr);
LIBSSH_API int ssh_channel_request_env(ssh_channel channel, const char *name, const char *value);