summaryrefslogtreecommitdiffstats
path: root/include/libssh/poll.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libssh/poll.h')
-rw-r--r--include/libssh/poll.h3
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_ */