poll: Added function to remove session from event loop.

This commit is contained in:
milo
2011-02-20 14:03:19 +01:00
parent 4b72953c7e
commit 0c76156f54
2 changed files with 48 additions and 0 deletions

View File

@@ -477,6 +477,7 @@ LIBSSH_API int ssh_getpass(const char *prompt, char *buf, size_t len, int echo,
LIBSSH_API ssh_event ssh_event_new(void);
LIBSSH_API int ssh_event_add_session(ssh_event event, ssh_session session);
LIBSSH_API int ssh_event_remove_session(ssh_event event, ssh_session session);
LIBSSH_API void ssh_event_free(ssh_event event);
#ifndef LIBSSH_LEGACY_0_4