From edc6b2cef276d62034a6dd3f8ef5338e1a467045 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 17 May 2010 11:19:31 +0200 Subject: poll: Added a cleanup function to free the ws2_32 library. --- include/libssh/socket.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/libssh/socket.h') diff --git a/include/libssh/socket.h b/include/libssh/socket.h index 3e433e1f..3ce14f9d 100644 --- a/include/libssh/socket.h +++ b/include/libssh/socket.h @@ -30,6 +30,7 @@ struct socket *ssh_socket_new(ssh_session session); void ssh_socket_free(struct socket *s); void ssh_socket_set_fd(struct socket *s, socket_t fd); socket_t ssh_socket_get_fd(struct socket *s); +void ssh_socket_cleanup(void); #ifndef _WIN32 int ssh_socket_unix(struct socket *s, const char *path); #endif -- cgit