summaryrefslogtreecommitdiffstats
path: root/libssh/socket.c
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2010-05-17 11:19:31 +0200
committerAndreas Schneider <asn@cynapses.org>2010-08-25 23:12:26 +0200
commitedc6b2cef276d62034a6dd3f8ef5338e1a467045 (patch)
tree635258053877dc65479f776443a8e4aace4b3225 /libssh/socket.c
parent9590a643ab6d028770964cb27833f6eece094520 (diff)
poll: Added a cleanup function to free the ws2_32 library.
Diffstat (limited to 'libssh/socket.c')
-rw-r--r--libssh/socket.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/libssh/socket.c b/libssh/socket.c
index 402a5b78..516639c3 100644
--- a/libssh/socket.c
+++ b/libssh/socket.c
@@ -77,7 +77,15 @@ int ssh_socket_init(void) {
return 0;
}
-/*
+
+/**
+ * @brief Cleanup the socket system.
+ */
+void ssh_socket_cleanup(void) {
+ ssh_poll_cleanup();
+}
+
+/**
* \internal
* \brief creates a new Socket object
*/