aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/libssh.h
diff options
context:
space:
mode:
authormilo <milo@r0ot.me>2011-02-20 13:51:08 +0100
committermilo <milo@r0ot.me>2011-02-20 14:21:45 +0100
commita2634ceea8e121f141ecf6e283a04a9926933cc1 (patch)
tree02326d45be18d94edaad0ce680a2bed3d4b5ac78 /include/libssh/libssh.h
parentac8276c70e67e04ffbbcd68a9e7f69348a520fbd (diff)
downloadlibssh-a2634ceea8e121f141ecf6e283a04a9926933cc1.tar.gz
libssh-a2634ceea8e121f141ecf6e283a04a9926933cc1.tar.xz
libssh-a2634ceea8e121f141ecf6e283a04a9926933cc1.zip
poll: Started to add a poll based event loop.
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r--include/libssh/libssh.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 5430786b..1062ba5a 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -117,6 +117,7 @@ typedef struct ssh_key_struct* ssh_key;
typedef struct ssh_scp_struct* ssh_scp;
typedef struct ssh_session_struct* ssh_session;
typedef struct ssh_string_struct* ssh_string;
+typedef struct ssh_event_struct* ssh_event;
/* Socket type */
#ifdef _WIN32
@@ -474,6 +475,8 @@ LIBSSH_API void ssh_string_free_char(char *s);
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);
+
#ifndef LIBSSH_LEGACY_0_4
#include "libssh/legacy.h"
#endif