aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2010-05-12 15:47:26 +0200
committerAndreas Schneider <mail@cynapses.org>2010-05-12 18:22:09 +0200
commit91ef298e7d34f81a31e28025f2a933640ae7f4bf (patch)
treeab02b5563492c210c3cb43fe0cc2bf974656da85 /include
parent4ecefb501702cb993eb3acd98876a378783526b6 (diff)
downloadlibssh-91ef298e7d34f81a31e28025f2a933640ae7f4bf.tar.gz
libssh-91ef298e7d34f81a31e28025f2a933640ae7f4bf.tar.xz
libssh-91ef298e7d34f81a31e28025f2a933640ae7f4bf.zip
Added runtime detection of WSAPoll().
Signed-off-by: Andreas Schneider <mail@cynapses.org>
Diffstat (limited to 'include')
-rw-r--r--include/libssh/poll.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/poll.h b/include/libssh/poll.h
index 29512450..81891a13 100644
--- a/include/libssh/poll.h
+++ b/include/libssh/poll.h
@@ -76,6 +76,7 @@ typedef struct ssh_pollfd_struct {
typedef unsigned long int nfds_t;
#endif /* HAVE_POLL */
+void ssh_poll_init(void);
int ssh_poll(ssh_pollfd_t *fds, nfds_t nfds, int timeout);
typedef struct ssh_poll_ctx_struct *ssh_poll_ctx;
typedef struct ssh_poll_handle_struct *ssh_poll_handle;