1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-12-02 01:17:52 +03:00

Added runtime detection of WSAPoll().

Signed-off-by: Andreas Schneider <mail@cynapses.org>
This commit is contained in:
Andreas Schneider
2010-05-12 15:47:26 +02:00
parent 4ecefb5017
commit 91ef298e7d
3 changed files with 33 additions and 8 deletions

View File

@@ -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;