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

poll: Added a cleanup function to free the ws2_32 library.

This commit is contained in:
Andreas Schneider
2010-05-17 11:19:31 +02:00
parent 2234c115f2
commit 488e822c8d
5 changed files with 26 additions and 1 deletions

View File

@@ -77,6 +77,7 @@ typedef unsigned long int nfds_t;
#endif /* HAVE_POLL */
void ssh_poll_init(void);
void ssh_poll_cleanup(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;