diff options
Diffstat (limited to 'src/platform/w32functions.h')
-rw-r--r-- | src/platform/w32functions.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/platform/w32functions.h b/src/platform/w32functions.h index d780db65..2c0cdcff 100644 --- a/src/platform/w32functions.h +++ b/src/platform/w32functions.h | |||
@@ -32,6 +32,7 @@ | |||
32 | #include <errno.h> | 32 | #include <errno.h> |
33 | #include <winsock2.h> | 33 | #include <winsock2.h> |
34 | #include "platform.h" | 34 | #include "platform.h" |
35 | #include "platform_interface.h" | ||
35 | 36 | ||
36 | #ifdef __cplusplus | 37 | #ifdef __cplusplus |
37 | extern "C" | 38 | extern "C" |
@@ -170,6 +171,13 @@ const char* MHD_W32_strerror_last_winsock_(void); | |||
170 | */ | 171 | */ |
171 | void MHD_W32_set_last_winsock_error_(int errnum); | 172 | void MHD_W32_set_last_winsock_error_(int errnum); |
172 | 173 | ||
174 | /** | ||
175 | * Create pair of mutually connected TCP/IP sockets on loopback address | ||
176 | * @param sockets_pair array to receive resulted sockets | ||
177 | * @return zero on success, -1 otherwise | ||
178 | */ | ||
179 | int MHD_W32_pair_of_sockets_(SOCKET sockets_pair[2]); | ||
180 | |||
173 | #ifdef __cplusplus | 181 | #ifdef __cplusplus |
174 | } | 182 | } |
175 | #endif | 183 | #endif |