aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormilo <milo@r0ot.me>2011-02-20 14:06:57 +0100
committermilo <milo@r0ot.me>2011-02-20 14:37:43 +0100
commitddb1c1838f35818db92809d92c999a1352be5521 (patch)
tree5b9fb36013c5fda82b526aa8c06949655fa168b3 /include
parente40261c22ce8630558fdadf2932f472793528a1b (diff)
downloadlibssh-ddb1c1838f35818db92809d92c999a1352be5521.tar.gz
libssh-ddb1c1838f35818db92809d92c999a1352be5521.tar.xz
libssh-ddb1c1838f35818db92809d92c999a1352be5521.zip
poll: Added a function to poll the events.
Diffstat (limited to 'include')
-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 e714ecaf..504aac92 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -482,6 +482,7 @@ LIBSSH_API ssh_event ssh_event_new(void);
LIBSSH_API int ssh_event_add_fd(ssh_event event, socket_t fd, short events,
ssh_event_callback cb, void *userdata);
LIBSSH_API int ssh_event_add_session(ssh_event event, ssh_session session);
+LIBSSH_API int ssh_event_dopoll(ssh_event event, int timeout);
LIBSSH_API int ssh_event_remove_fd(ssh_event event, socket_t fd);
LIBSSH_API int ssh_event_remove_session(ssh_event event, ssh_session session);
LIBSSH_API void ssh_event_free(ssh_event event);