From f19f98e928eae2c3f0fa8fded8a5aac11fc2650a Mon Sep 17 00:00:00 2001 From: Alex Hultman Date: Mon, 2 Jan 2023 16:19:48 +0100 Subject: [PATCH] win32_export context_close --- src/libusockets.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libusockets.h b/src/libusockets.h index 8a676cdc..4e1e6c5e 100644 --- a/src/libusockets.h +++ b/src/libusockets.h @@ -177,7 +177,7 @@ WIN32_EXPORT void us_socket_context_on_end(int ssl, struct us_socket_context_t * WIN32_EXPORT void *us_socket_context_ext(int ssl, struct us_socket_context_t *context); /* Closes all open sockets, including listen sockets. Does not invalidate the socket context. */ -void us_socket_context_close(int ssl, struct us_socket_context_t *context); +WIN32_EXPORT void us_socket_context_close(int ssl, struct us_socket_context_t *context); /* Listen for connections. Acts as the main driving cog in a server. Will call set async callbacks. */ WIN32_EXPORT struct us_listen_socket_t *us_socket_context_listen(int ssl, struct us_socket_context_t *context,