26 #ifndef MHD_W32FUNCTIONS_H 27 #define MHD_W32FUNCTIONS_H 29 #error w32functions.h is designed only for W32 systems 42 #define MHDW32ERRBASE 3300 45 #define EWOULDBLOCK (MHDW32ERRBASE+1) 48 #define EINPROGRESS (MHDW32ERRBASE+2) 51 #define EALREADY (MHDW32ERRBASE+3) 54 #define ENOTSOCK (MHDW32ERRBASE+4) 57 #define EDESTADDRREQ (MHDW32ERRBASE+5) 60 #define EMSGSIZE (MHDW32ERRBASE+6) 63 #define EPROTOTYPE (MHDW32ERRBASE+7) 66 #define ENOPROTOOPT (MHDW32ERRBASE+8) 68 #ifndef EPROTONOSUPPORT 69 #define EPROTONOSUPPORT (MHDW32ERRBASE+9) 72 #define EOPNOTSUPP (MHDW32ERRBASE+10) 75 #define EAFNOSUPPORT (MHDW32ERRBASE+11) 78 #define EADDRINUSE (MHDW32ERRBASE+12) 81 #define EADDRNOTAVAIL (MHDW32ERRBASE+13) 84 #define ENETDOWN (MHDW32ERRBASE+14) 87 #define ENETUNREACH (MHDW32ERRBASE+15) 90 #define ENETRESET (MHDW32ERRBASE+16) 93 #define ECONNABORTED (MHDW32ERRBASE+17) 96 #define ECONNRESET (MHDW32ERRBASE+18) 99 #define ENOBUFS (MHDW32ERRBASE+19) 102 #define EISCONN (MHDW32ERRBASE+20) 105 #define ENOTCONN (MHDW32ERRBASE+21) 108 #define ETOOMANYREFS (MHDW32ERRBASE+22) 111 #define ECONNREFUSED (MHDW32ERRBASE+23) 114 #define ELOOP (MHDW32ERRBASE+24) 117 #define EHOSTDOWN (MHDW32ERRBASE+25) 120 #define EHOSTUNREACH (MHDW32ERRBASE+26) 123 #define EPROCLIM (MHDW32ERRBASE+27) 126 #define EUSERS (MHDW32ERRBASE+28) 129 #define EDQUOT (MHDW32ERRBASE+29) 132 #define ESTALE (MHDW32ERRBASE+30) 135 #define EREMOTE (MHDW32ERRBASE+31) 137 #ifndef ESOCKTNOSUPPORT 138 #define ESOCKTNOSUPPORT (MHDW32ERRBASE+32) 141 #define EPFNOSUPPORT (MHDW32ERRBASE+33) 144 #define ESHUTDOWN (MHDW32ERRBASE+34) 147 #define ENODATA (MHDW32ERRBASE+35) 150 #define ETIMEDOUT (MHDW32ERRBASE+36) 195 int W32_snprintf(
char *__restrict s,
size_t n,
const char *__restrict format, ...);
197 #ifndef _MSC_FULL_VER int MHD_W32_errno_from_winsock_(void)
int W32_snprintf(char *__restrict s, size_t n, const char *__restrict format,...)
static void W32_SetThreadName(const DWORD thread_id, const char *thread_name)
const char * MHD_W32_strerror_(int errnum)
void MHD_W32_set_last_winsock_error_(int errnum)
int MHD_W32_random_(void)
int MHD_W32_pair_of_sockets_(SOCKET sockets_pair[2])
const char * MHD_W32_strerror_last_winsock_(void)