poll: Added function to add session to an event.

This commit is contained in:
milo
2011-02-20 13:56:40 +01:00
parent 4ee4450a6b
commit 4b72953c7e
2 changed files with 45 additions and 0 deletions

View File

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