diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-10-12 17:57:15 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-10-12 17:57:15 +0200 |
commit | 4f8907a524c7a2acbce87d4d7cbea5d779a059ca (patch) | |
tree | e5c811df6804c2612b345f898bdb43d933c6fd48 /include/libssh/poll.h | |
parent | 7b1359042c09e3f90f6d521e636c2d9123179912 (diff) | |
download | libssh-4f8907a524c7a2acbce87d4d7cbea5d779a059ca.tar.gz libssh-4f8907a524c7a2acbce87d4d7cbea5d779a059ca.tar.xz libssh-4f8907a524c7a2acbce87d4d7cbea5d779a059ca.zip |
Removed the global poll ctx in fav. of /session ctx
Diffstat (limited to 'include/libssh/poll.h')
-rw-r--r-- | include/libssh/poll.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/libssh/poll.h b/include/libssh/poll.h index 5ac267e8..88a16a1e 100644 --- a/include/libssh/poll.h +++ b/include/libssh/poll.h @@ -153,8 +153,6 @@ 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); - +ssh_poll_ctx ssh_poll_get_default_ctx(ssh_session session); #endif /* POLL_H_ */ |