Tables of the string response phrases. More...
#include "reason_phrase.h"
Go to the source code of this file.
Defines | |
#define | NULL (void*)0 |
#define | BLOCK(m) { (sizeof(m) / sizeof(char*)), m } |
Functions | |
const char * | MHD_get_reason_phrase_for (unsigned int code) |
Variables | |
static const char * | invalid_hundred [] = { NULL } |
static const char * | one_hundred [] |
static const char * | two_hundred [] |
static const char * | three_hundred [] |
static const char * | four_hundred [] |
static const char * | five_hundred [] |
static struct MHD_Reason_Block | reasons [] |
Tables of the string response phrases.
Definition in file reason_phrase.c.
#define BLOCK | ( | m | ) | { (sizeof(m) / sizeof(char*)), m } |
Definition at line 140 of file reason_phrase.c.
#define NULL (void*)0 |
Definition at line 31 of file reason_phrase.c.
Referenced by add_extra_headers(), add_response_entry(), add_to_fd_set(), BASE64Decode(), build_header_response(), call_connection_handler(), check_argument_match(), check_write_done(), close_all_connections(), connection_close_error(), create_thread(), digest_calc_response(), do_read(), do_write(), free_unmarked(), get_next_header_line(), lookup_sub_value(), MHD_add_connection(), MHD_basic_auth_get_username_password(), MHD_cleanup_connections(), MHD_connection_close(), MHD_connection_get_pollfd(), MHD_connection_handle_idle(), MHD_connection_handle_write(), MHD_create_post_processor(), MHD_create_response_from_callback(), MHD_create_response_from_data(), MHD_create_response_from_fd_at_offset(), MHD_del_response_header(), MHD_destroy_post_processor(), MHD_destroy_response(), MHD_digest_auth_check(), MHD_digest_auth_get_username(), MHD_get_connection_info(), MHD_get_connection_values(), MHD_get_daemon_info(), MHD_get_fdset(), MHD_get_master(), MHD_get_response_header(), MHD_get_response_headers(), MHD_get_timeout(), MHD_handle_connection(), MHD_init(), MHD_ip_limit_add(), MHD_ip_limit_del(), MHD_lookup_connection_value(), MHD_monotonic_time(), MHD_pool_allocate(), MHD_pool_create(), MHD_pool_destroy(), MHD_pool_reallocate(), MHD_pool_reset(), MHD_post_process(), MHD_queue_auth_fail_response(), MHD_queue_response(), MHD_select(), MHD_select_thread(), MHD_set_connection_value(), MHD_start_daemon_va(), MHD_stop_daemon(), need_100_continue(), parse_arguments(), parse_connection_headers(), parse_cookie_header(), parse_initial_message_line(), parse_options_va(), post_process_multipart(), post_process_urlencoded(), process_broken_line(), process_header_line(), process_request_body(), send_param_adapter(), test_header(), transmit_error_response(), try_get_value(), try_grow_read_buffer(), try_match_header(), try_ready_chunked_body(), and try_ready_normal_body().
const char* MHD_get_reason_phrase_for | ( | unsigned int | code | ) |
Returns the string reason phrase for a response code.
If we don't have a string for a status code, we give the first message in that status code class.
Definition at line 152 of file reason_phrase.c.
Referenced by build_header_response().
const char* five_hundred[] [static] |
{ "Internal Server Error", "Not Implemented", "Bad Gateway", "Service Unavailable", "Gateway Time-out", "HTTP Version not supported", "Variant Also Negotiates", "Insufficient Storage", "Unknown", "Bandwidth Limit Exceeded", "Not Extended" }
Definition at line 119 of file reason_phrase.c.
const char* four_hundred[] [static] |
Definition at line 64 of file reason_phrase.c.
const char* invalid_hundred[] = { NULL } [static] |
Definition at line 34 of file reason_phrase.c.
const char* one_hundred[] [static] |
{ "Continue", "Switching Protocols", "Processing" }
Definition at line 36 of file reason_phrase.c.
struct MHD_Reason_Block reasons[] [static] |
{ BLOCK (invalid_hundred), BLOCK (one_hundred), BLOCK (two_hundred), BLOCK (three_hundred), BLOCK (four_hundred), BLOCK (five_hundred), }
Definition at line 142 of file reason_phrase.c.
const char* three_hundred[] [static] |
{ "Multiple Choices", "Moved Permanently", "Moved Temporarily", "See Other", "Not Modified", "Use Proxy", "Switch Proxy", "Temporary Redirect" }
Definition at line 53 of file reason_phrase.c.
const char* two_hundred[] [static] |
{ "OK", "Created", "Accepted", "Non-Authoritative Information", "No Content", "Reset Content", "Partial Content", "Multi Status" }
Definition at line 42 of file reason_phrase.c.