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)
39 #define HTTP_ECONNRESET (WSAECONNRESET)
40 #define HTTP_EINPROGRESS (WSAEINPROGRESS)
41 #define HTTP_EWOULDBLOCK (WSAEWOULDBLOCK)
77 #define IToA HTTPWrapperItoa
78 #define GetUpTime HTTPWrapperGetUpTime
79 #define SocketGetErr HTTPWrapperGetSocketError
80 #define HostByName HTTPWrapperGetHostByName
81 #define InitRandomeNumber HTTPWrapperInitRandomeNumber
82 #define GetRandomeNumber HTTPWrapperGetRandomeNumber
107 #define HTTP_INVALID_SOCKET (-1)
115 #endif // HTTP_CLIENT_WRAPPER