aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2015-07-05 16:55:06 +0200
committerAndreas Schneider <asn@cryptomilk.org>2016-05-02 16:40:43 +0200
commit5aaae4cb6b9b831fcc3359a64953902c97559931 (patch)
treeba585f3bfa49f4f37e1ca77475c939c58be65609 /include
parentc092101e019316975108e4afbe66802520ef510a (diff)
downloadlibssh-5aaae4cb6b9b831fcc3359a64953902c97559931.tar.gz
libssh-5aaae4cb6b9b831fcc3359a64953902c97559931.tar.xz
libssh-5aaae4cb6b9b831fcc3359a64953902c97559931.zip
events: Add functions for poll objects
Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include')
-rw-r--r--include/libssh/poll.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/poll.h b/include/libssh/poll.h
index bbc03a95..3aa9a49b 100644
--- a/include/libssh/poll.h
+++ b/include/libssh/poll.h
@@ -155,5 +155,7 @@ int ssh_poll_ctx_add_socket (ssh_poll_ctx ctx, struct ssh_socket_struct *s);
void ssh_poll_ctx_remove(ssh_poll_ctx ctx, ssh_poll_handle p);
int ssh_poll_ctx_dopoll(ssh_poll_ctx ctx, int timeout);
ssh_poll_ctx ssh_poll_get_default_ctx(ssh_session session);
+int ssh_event_add_poll(ssh_event event, ssh_poll_handle p);
+void ssh_event_remove_poll(ssh_event event, ssh_poll_handle p);
#endif /* POLL_H_ */