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 *const | one_hundred [] |
static const char *const | two_hundred [] |
static const char *const | three_hundred [] |
static const char *const | four_hundred [] |
static const char *const | 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(), cleanup_connection(), close_all_connections(), connection_close_error(), create_thread(), curl_header_cb(), digest_calc_response(), do_read(), do_write(), find_boundary(), free_unmarked(), free_uri(), get_from_buffer(), get_next_header_line(), internal_add_connection(), iterate_cb(), lookup_sub_value(), MHD_basic_auth_get_username_password(), MHD_cleanup_connections(), MHD_connection_close(), MHD_connection_handle_idle(), MHD_connection_handle_write(), MHD_connection_update_event_loop_info(), 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_quiesce_daemon(), MHD_run_from_select(), MHD_select(), MHD_select_thread(), MHD_set_connection_value(), MHD_start_daemon_va(), MHD_stop_daemon(), MHD_suspend_connection(), need_100_continue(), new_session_cb(), parse_arguments(), parse_connection_headers(), parse_cookie_header(), parse_initial_message_line(), parse_options_va(), parse_uri(), post_process_multipart(), post_process_urlencoded(), process_broken_line(), process_header_line(), process_request_body(), process_value_to_boundary(), response_done_callback(), resume_suspended_connections(), run(), send_param_adapter(), session_closed_cb(), SPDY_build_response(), SPDY_build_response_with_callback(), SPDY_destroy_request(), SPDY_destroy_response(), SPDY_get_cls_from_request(), SPDY_get_cls_from_session(), SPDY_get_fdset(), SPDY_get_remote_addr(), SPDY_get_session_for_request(), SPDY_get_timeout(), spdy_handler_new_stream(), spdy_handler_response_queue_result(), SPDY_name_value_add(), SPDY_name_value_create(), SPDY_name_value_destroy(), SPDY_name_value_iterate(), SPDY_name_value_lookup(), SPDY_queue_response(), SPDY_run(), SPDY_set_cls_to_request(), SPDY_set_cls_to_session(), SPDY_start_daemon(), SPDY_stop_daemon(), spdyf_cleanup_sessions(), spdyf_close_all_sessions(), SPDYF_get_fdset(), SPDYF_get_timeout(), spdyf_handler_read_data(), spdyf_handler_read_rst_stream(), spdyf_handler_read_syn_stream(), SPDYF_handler_write_data(), SPDYF_handler_write_goaway(), SPDYF_handler_write_rst_stream(), SPDYF_handler_write_syn_reply(), SPDYF_handler_write_window_update(), SPDYF_monotonic_time(), SPDYF_name_value_from_stream(), SPDYF_name_value_is_empty(), SPDYF_name_value_to_stream(), SPDYF_openssl_init(), SPDYF_openssl_new_session(), SPDYF_prepare_goaway(), SPDYF_prepare_rst_stream(), SPDYF_prepare_window_update(), SPDYF_queue_response(), SPDYF_response_queue_create(), SPDYF_run(), SPDYF_session_accept(), SPDYF_session_close(), SPDYF_session_destroy(), SPDYF_session_idle(), SPDYF_session_read(), SPDYF_session_write(), SPDYF_start_daemon_va(), SPDYF_stream_destroy(), SPDYF_stream_find(), SPDYF_stream_new(), SPDYF_stream_set_flags_on_write(), SPDYF_zlib_deflate(), SPDYF_zlib_inflate(), standard_request_handler(), store_in_buffer(), tdelete(), test_header(), tfind(), transmit_error_response(), try_get_value(), try_grow_read_buffer(), try_match_header(), try_ready_chunked_body(), try_ready_normal_body(), and tsearch().
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* const 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* const 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* const 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* const 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* const 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.