X-Git-Url: http://git.meshlink.io/?p=catta;a=blobdiff_plain;f=src%2Fcompat%2Fwindows%2Fwincompat.h;h=de3396c2a62bc08665c9212812a1305d51636710;hp=c736f75f938dc03868c75accbad1354239e21d37;hb=63561f9937d11b1371a2de2511b903035818b42f;hpb=f5e8cf973023b76f479c0db9269d08dd3b1d477d diff --git a/src/compat/windows/wincompat.h b/src/compat/windows/wincompat.h index c736f75..de3396c 100644 --- a/src/compat/windows/wincompat.h +++ b/src/compat/windows/wincompat.h @@ -16,6 +16,11 @@ #include +// wrappers around WSAStartup/WSACleanup to avoid clutter +void winsock_init(void); +void winsock_exit(void); + + // Winsock doesn't have recvmsg/sendmsg but offers the same functionality // with WSARecvMsg/WSASendMsg, so we implement the former in terms of the // latter.