Go to the documentation of this file.
2 #ifndef HTTP_CLIENT_WRAPPER
3 #define HTTP_CLIENT_WRAPPER
6 #define _HTTP_BUILD_WIN32 // Set Windows Build flag
15 #ifdef _HTTP_BUILD_WIN32
18 #pragma warning (disable: 4996) // 'function': was declared deprecated (VS 2005)
26 #if defined(_WIN32) || defined(WIN32)
35 #define HTTP_ECONNRESET (WSAECONNRESET)
36 #define HTTP_EINPROGRESS (WSAEINPROGRESS)
37 #define HTTP_EWOULDBLOCK (WSAEWOULDBLOCK)
73 #define IToA HTTPWrapperItoa
74 #define GetUpTime HTTPWrapperGetUpTime
75 #define SocketGetErr HTTPWrapperGetSocketError
76 #define HostByName HTTPWrapperGetHostByName
77 #define InitRandomeNumber HTTPWrapperInitRandomeNumber
78 #define GetRandomeNumber HTTPWrapperGetRandomeNumber
103 #define HTTP_INVALID_SOCKET (-1)
111 #endif // HTTP_CLIENT_WRAPPER