GNU libmicrohttpd 1.0.2
|
Tables of the string response phrases. More...
Go to the source code of this file.
Macros | |
#define | NULL ((void*) 0) |
#define | BLOCK(m) |
Functions | |
_MHD_EXTERN const char * | MHD_get_reason_phrase_for (unsigned int code) |
_MHD_EXTERN size_t | MHD_get_reason_phrase_len_for (unsigned int code) |
Variables | |
static const struct _MHD_cstr_w_len | invalid_hundred [] |
static const struct _MHD_cstr_w_len | one_hundred [] |
static const struct _MHD_cstr_w_len | two_hundred [] |
static const struct _MHD_cstr_w_len | three_hundred [] |
static const struct _MHD_cstr_w_len | four_hundred [] |
static const struct _MHD_cstr_w_len | five_hundred [] |
static const struct MHD_Reason_Block | reasons [] |
Tables of the string response phrases.
Definition in file reason_phrase.c.
#define BLOCK | ( | m | ) |
Definition at line 166 of file reason_phrase.c.
#define NULL ((void*) 0) |
Definition at line 33 of file reason_phrase.c.
_MHD_EXTERN const char * MHD_get_reason_phrase_for | ( | unsigned int | code | ) |
Returns the string reason phrase for a response code.
If message string is not available for a status code, "Unknown" string will be returned.
Definition at line 179 of file reason_phrase.c.
References reasons.
Referenced by build_header_response().
_MHD_EXTERN size_t MHD_get_reason_phrase_len_for | ( | unsigned int | code | ) |
Returns the length of the string reason phrase for a response code.
If message string is not available for a status code, 0 is returned.
Definition at line 190 of file reason_phrase.c.
References reasons.
Referenced by build_header_response().
|
static |
Definition at line 144 of file reason_phrase.c.
|
static |
Definition at line 89 of file reason_phrase.c.
|
static |
Definition at line 36 of file reason_phrase.c.
|
static |
Definition at line 40 of file reason_phrase.c.
|
static |
Definition at line 168 of file reason_phrase.c.
Referenced by MHD_get_reason_phrase_for(), and MHD_get_reason_phrase_len_for().
|
static |
Definition at line 77 of file reason_phrase.c.
|
static |
Definition at line 47 of file reason_phrase.c.