diff options
author | Andreas Schneider <mail@cynapses.org> | 2010-05-17 11:19:31 +0200 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2010-05-17 11:19:31 +0200 |
commit | 488e822c8d242760f3f47e10d7f071edee65923f (patch) | |
tree | 25569716b98d2c4c101c48ad900edb8458a4738a /include/libssh/poll.h | |
parent | 2234c115f25ccf606d28981711bc75871fbd2505 (diff) | |
download | libssh-488e822c8d242760f3f47e10d7f071edee65923f.tar.gz libssh-488e822c8d242760f3f47e10d7f071edee65923f.tar.xz libssh-488e822c8d242760f3f47e10d7f071edee65923f.zip |
poll: Added a cleanup function to free the ws2_32 library.
Diffstat (limited to 'include/libssh/poll.h')
-rw-r--r-- | include/libssh/poll.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/poll.h b/include/libssh/poll.h index 81891a13..e60d7664 100644 --- a/include/libssh/poll.h +++ b/include/libssh/poll.h @@ -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; |