diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-12-11 21:11:23 +0100 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-12-11 21:11:23 +0100 |
commit | 80b6cf77b03a6a29f76bdb4768b2b2c6d7d37495 (patch) | |
tree | 418c1cea022addfb08152887f7c3f47ec0798d58 /include/libssh/poll.h | |
parent | 79b4bf4ac2811d868c7c27830fd5538e21cb33a8 (diff) | |
download | libssh-80b6cf77b03a6a29f76bdb4768b2b2c6d7d37495.tar.gz libssh-80b6cf77b03a6a29f76bdb4768b2b2c6d7d37495.tar.xz libssh-80b6cf77b03a6a29f76bdb4768b2b2c6d7d37495.zip |
Added a global poll context
Diffstat (limited to 'include/libssh/poll.h')
-rw-r--r-- | include/libssh/poll.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libssh/poll.h b/include/libssh/poll.h index 5d8bd3cc..54a1348b 100644 --- a/include/libssh/poll.h +++ b/include/libssh/poll.h @@ -98,7 +98,8 @@ int ssh_poll_ctx_add(ssh_poll_ctx ctx, ssh_poll_handle p); 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_get_global_poll_ctx(ssh_session session); +void ssh_free_global_poll_ctx(void); #endif /* POLL_H_ */ |