summaryrefslogtreecommitdiffstats
path: root/include/libssh
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:44:09 +0200
commit4b7eba1eda5c069e71807d7f0f5a65ff1462f61f (patch)
tree1402df73c12c467f41fdd52e95a95c2c4a8f8526 /include/libssh
parent9970b1fd7daa3ab9174a1822925d5c604fd09afd (diff)
downloadlibssh-4b7eba1eda5c069e71807d7f0f5a65ff1462f61f.tar.gz
libssh-4b7eba1eda5c069e71807d7f0f5a65ff1462f61f.tar.xz
libssh-4b7eba1eda5c069e71807d7f0f5a65ff1462f61f.zip
Added runtime detection of WSAPoll().
Signed-off-by: Andreas Schneider <mail@cynapses.org>
Diffstat (limited to 'include/libssh')
-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 a43cd660..b9e6494a 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;