33 #define NULL ((void*) 0) 160 struct MHD_Reason_Block
166 #define BLOCK(m) { (sizeof(m) / sizeof(m[0])), m } 168 static 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_cstr_w_len five_hundred[]
static const struct _MHD_cstr_w_len one_hundred[]
public interface to libmicrohttpd
static const struct _MHD_cstr_w_len two_hundred[]
static const struct MHD_Reason_Block reasons[]
static const struct _MHD_cstr_w_len four_hundred[]
Header for string manipulating helpers.
static const struct _MHD_cstr_w_len invalid_hundred[]
static const struct _MHD_cstr_w_len three_hundred[]
const char * MHD_get_reason_phrase_for(enum MHD_HTTP_StatusCode code)
#define _MHD_S_STR_W_LEN(str)
_MHD_EXTERN size_t MHD_get_reason_phrase_len_for(unsigned int code)