From 4b72953c7eea7da69f7a7f7d2f48f4ef5d0cf433 Mon Sep 17 00:00:00 2001 From: milo Date: Sun, 20 Feb 2011 13:56:40 +0100 Subject: poll: Added function to add session to an event. --- include/libssh/libssh.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/libssh') diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index 3fc7b6c6..0cb96006 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -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 -- cgit