GNU libmicrohttpd 0.9.77
|
Tables of the string response phrases. More...
Go to the source code of this file.
Macros | |
#define | NULL ((void*) 0) |
#define | BLOCK(m) { (sizeof(m) / sizeof(m[0])), m } |
Functions | |
const char * | MHD_get_reason_phrase_for (unsigned int code) |
size_t | MHD_get_reason_phrase_len_for (unsigned int code) |
Variables | |
static const struct _MHD_str_w_len | invalid_hundred [] |
static const struct _MHD_str_w_len | one_hundred [] |
static const struct _MHD_str_w_len | two_hundred [] |
static const struct _MHD_str_w_len | three_hundred [] |
static const struct _MHD_str_w_len | four_hundred [] |
static const struct _MHD_str_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 | ) | { (sizeof(m) / sizeof(m[0])), m } |
Definition at line 165 of file reason_phrase.c.
#define NULL ((void*) 0) |
Definition at line 32 of file reason_phrase.c.
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 178 of file reason_phrase.c.
References reasons.
Referenced by build_header_response(), and build_header_response().
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 189 of file reason_phrase.c.
References reasons.
Referenced by build_header_response().
|
static |
Definition at line 143 of file reason_phrase.c.
|
static |
Definition at line 88 of file reason_phrase.c.
|
static |
Definition at line 35 of file reason_phrase.c.
|
static |
Definition at line 39 of file reason_phrase.c.
|
static |
Definition at line 167 of file reason_phrase.c.
|
static |
Definition at line 76 of file reason_phrase.c.
|
static |
Definition at line 46 of file reason_phrase.c.