33#define NULL ((void*) 0)
160struct MHD_Reason_Block
163 const struct _MHD_cstr_w_len *
const data;
166#define BLOCK(m) { (sizeof(m) / sizeof(m[0])), m }
168static const struct MHD_Reason_Block
reasons[] = {
181 if ( (code >= 100) &&
183 (
reasons[code / 100].max > (code % 100)) )
184 return reasons[code / 100].data[code % 100].str;
192 if ( (code >= 100) &&
194 (
reasons[code / 100].max > (code % 100)) )
195 return reasons[code / 100].data[code % 100].len;
static const struct MHD_Reason_Block reasons[]
static const char *const two_hundred[]
static const char *const five_hundred[]
static const char *const invalid_hundred[]
static const char *const three_hundred[]
static const char *const four_hundred[]
const char * MHD_get_reason_phrase_for(enum MHD_HTTP_StatusCode code)
static const char *const one_hundred[]
#define _MHD_S_STR_W_LEN(str)
Header for string manipulating helpers.
_MHD_EXTERN size_t MHD_get_reason_phrase_len_for(unsigned int code)
public interface to libmicrohttpd