|
Apache HTTPD
|
Modules | |
| Acessors | |
| File/Directory Accessor directives. | |
| Remote Host Resolution | |
Classes | |
| struct | require_line |
| A structure to keep track of authorization requirements. More... | |
| struct | core_request_config |
| Per-request configuration. More... | |
| struct | core_dir_config |
| Per-directory configuration. More... | |
| struct | core_server_config |
| struct | core_filter_ctx |
| struct | core_net_rec |
| struct | ap_LINK_insert_network_bucket_t |
| union | ap_mgmt_value |
| struct | ap_mgmt_item_t |
| struct | ap_LINK_get_mgmt_items_t |
| struct | ap_errorlog_info |
| struct | ap_errorlog_handler |
| struct | ap_errorlog_format_item |
| struct | ap_LINK_error_log_t |
| struct | ap_LINK_get_pollfd_from_conn_t |
Enumerations | |
| enum | server_signature_e { srv_sig_unset , srv_sig_off , srv_sig_on , srv_sig_withmail } |
| Server Signature Enumeration. More... | |
| enum | ap_mgmt_type_e { ap_mgmt_type_string , ap_mgmt_type_long , ap_mgmt_type_hash } |
Variables | |
| ap_filter_rec_t * | ap_subreq_core_filter_handle |
| ap_filter_rec_t * | ap_core_output_filter_handle |
| ap_filter_rec_t * | ap_content_length_filter_handle |
| ap_filter_rec_t * | ap_core_input_filter_handle |
| #define AP_CORE_CONFIG_OFF (0) |
Definition at line 504 of file http_core.h.
| #define AP_CORE_CONFIG_ON (1) |
Definition at line 505 of file http_core.h.
| #define AP_CORE_CONFIG_UNSET (2) |
Definition at line 506 of file http_core.h.
Definition at line 509 of file http_core.h.
| #define AP_CORE_MODULE_INDEX 0 |
Definition at line 382 of file http_core.h.
| #define AP_DEFAULT_MAX_INTERNAL_REDIRECTS 10 |
default maximum of internal redirects
Definition at line 134 of file http_core.h.
| #define AP_DEFAULT_MAX_SUBREQ_DEPTH 10 |
default maximum subrequest nesting level
Definition at line 137 of file http_core.h.
| #define AP_ERRORLOG_FLAG_FIELD_SEP 1 |
item starts a new field
Definition at line 958 of file http_core.h.
| #define AP_ERRORLOG_FLAG_MESSAGE 2 |
item is the actual error message
Definition at line 960 of file http_core.h.
| #define AP_ERRORLOG_FLAG_NULL_AS_HYPHEN 8 |
log zero-length item as '-'
Definition at line 964 of file http_core.h.
| #define AP_ERRORLOG_FLAG_REQUIRED 4 |
skip whole line if item is zero-length
Definition at line 962 of file http_core.h.
| #define ap_get_core_module_config | ( | v | ) | (((void **)(v))[AP_CORE_MODULE_INDEX]) |
Definition at line 383 of file http_core.h.
| #define AP_MIN_BYTES_TO_WRITE 8000 |
Make sure we don't write less than 8000 bytes at any one time.
Definition at line 131 of file http_core.h.
| #define AP_NOTE_DIRECTORY_WALK 0 |
Definition at line 450 of file http_core.h.
| #define AP_NOTE_FILE_WALK 2 |
Definition at line 452 of file http_core.h.
| #define AP_NOTE_IF_WALK 3 |
Definition at line 453 of file http_core.h.
| #define AP_NOTE_LOCATION_WALK 1 |
Definition at line 451 of file http_core.h.
| #define AP_NUM_STD_NOTES 4 |
Definition at line 454 of file http_core.h.
| #define AP_SENDFILE_ENABLED | ( | x | ) | ((x) == ENABLE_SENDFILE_ON ? APR_SENDFILE_ENABLED : 0) |
Definition at line 689 of file http_core.h.
| #define ap_set_core_module_config | ( | v, | |
| val | |||
| ) | ((((void **)(v))[AP_CORE_MODULE_INDEX]) = (val)) |
Definition at line 385 of file http_core.h.
| #define AP_SQ_CONFIG_GEN 2 |
generation of the top-level apache parent
Definition at line 1034 of file http_core.h.
| #define AP_SQ_MAIN_STATE 0 |
current status of the server
Definition at line 1030 of file http_core.h.
| #define AP_SQ_MS_CREATE_CONFIG 4 |
normal configuration run
Definition at line 1051 of file http_core.h.
| #define AP_SQ_MS_CREATE_PRE_CONFIG 2 |
initial configuration run for setting up log config, etc.
Definition at line 1047 of file http_core.h.
| #define AP_SQ_MS_DESTROY_CONFIG 3 |
tearing down configuration
Definition at line 1049 of file http_core.h.
| #define AP_SQ_MS_EXITING 6 |
cleaning up for exit
Definition at line 1055 of file http_core.h.
| #define AP_SQ_MS_INITIAL_STARTUP 1 |
before the config preflight
Definition at line 1045 of file http_core.h.
| #define AP_SQ_MS_RUN_MPM 5 |
running the MPM
Definition at line 1053 of file http_core.h.
| #define AP_SQ_NOT_SUPPORTED -1 |
return value for unknown query_code
Definition at line 1041 of file http_core.h.
| #define AP_SQ_RM_CONFIG_DUMP 4 |
only dump some parts of the config
Definition at line 1065 of file http_core.h.
| #define AP_SQ_RM_CONFIG_TEST 3 |
config test only
Definition at line 1063 of file http_core.h.
| #define AP_SQ_RM_NORMAL 2 |
normal operation (server requests or signal server)
Definition at line 1061 of file http_core.h.
| #define AP_SQ_RM_UNKNOWN 1 |
command line not yet parsed
Definition at line 1059 of file http_core.h.
| #define AP_SQ_RUN_MODE 1 |
are we going to serve requests or are we just testing/dumping config
Definition at line 1032 of file http_core.h.
| #define ETAG_ALL (ETAG_MTIME | ETAG_INODE | ETAG_SIZE) |
Definition at line 499 of file http_core.h.
| #define ETAG_BACKWARD (ETAG_MTIME | ETAG_SIZE) |
Definition at line 501 of file http_core.h.
| #define ETAG_DIGEST (1 << 4) |
Definition at line 498 of file http_core.h.
| #define ETAG_INODE (1 << 2) |
Definition at line 496 of file http_core.h.
| #define ETAG_MTIME (1 << 1) |
Definition at line 495 of file http_core.h.
| #define ETAG_NONE (1 << 0) |
Definition at line 494 of file http_core.h.
| #define ETAG_SIZE (1 << 3) |
Definition at line 497 of file http_core.h.
| #define ETAG_UNSET 0 |
Definition at line 493 of file http_core.h.
| #define SATISFY_ALL 0 |
all of the requirements must be met
Definition at line 123 of file http_core.h.
| #define SATISFY_ANY 1 |
any of the requirements must be met
Definition at line 125 of file http_core.h.
| #define SATISFY_NOSPEC 2 |
There are no applicable satisfy lines
Definition at line 127 of file http_core.h.
Definition at line 482 of file http_core.h.
| typedef int ap_errorlog_handler_fn_t(const ap_errorlog_info *info, const char *arg, char *buf, int buflen) |
callback function prototype for a external errorlog handler
Definition at line 938 of file http_core.h.
The info structure passed to callback functions of errorlog handlers. Not all information is available in all contexts. In particular, all pointers may be NULL.
| typedef apr_status_t ap_HOOK_get_pollfd_from_conn_t(conn_rec *c, struct apr_pollfd_t *pfd, apr_interval_time_t *ptimeout) |
Get a apr_pollfd_t populated with descriptor and descriptor type and the timeout to use for it.
Definition at line 1073 of file http_core.h.
| typedef apr_status_t ap_HOOK_insert_network_bucket_t(conn_rec *c, apr_bucket_brigade *bb, apr_socket_t *socket) |
Insert the network bucket into the core input filter's input brigade. This hook is intended for MPMs or protocol modules that need to do special socket setup.
| c | The connection |
| bb | The brigade to insert the bucket into |
| socket | The socket to put into a bucket |
Definition at line 817 of file http_core.h.
| typedef int() apr_OFN_access_compat_ap_satisfies_t(request_rec *r) |
Definition at line 1015 of file http_core.h.
| typedef const char *() apr_OFN_ap_ident_lookup_t(request_rec *r) |
Definition at line 999 of file http_core.h.
Definition at line 876 of file http_core.h.
Definition at line 873 of file http_core.h.
Definition at line 878 of file http_core.h.
| typedef const char *() apr_OFN_authn_ap_auth_name_t(request_rec *r) |
Definition at line 1008 of file http_core.h.
| typedef const char *() apr_OFN_authn_ap_auth_type_t(request_rec *r) |
Definition at line 1007 of file http_core.h.
| typedef int() apr_OFN_authz_some_auth_required_t(request_rec *r) |
Definition at line 1006 of file http_core.h.
Definition at line 788 of file http_core.h.
Definition at line 787 of file http_core.h.
Definition at line 491 of file http_core.h.
Definition at line 483 of file http_core.h.
Definition at line 311 of file http_core.h.
| Enumerator | |
|---|---|
| ap_mgmt_type_string | |
| ap_mgmt_type_long | |
| ap_mgmt_type_hash | |
Definition at line 824 of file http_core.h.
Server Signature Enumeration.
| Enumerator | |
|---|---|
| srv_sig_unset | |
| srv_sig_off | |
| srv_sig_on | |
| srv_sig_withmail | |
Definition at line 517 of file http_core.h.
| void ap_add_file_conf | ( | apr_pool_t * | p, |
| core_dir_config * | conf, | ||
| void * | url_config | ||
| ) |
| const char * ap_add_if_conf | ( | apr_pool_t * | p, |
| core_dir_config * | conf, | ||
| void * | url_config | ||
| ) |
| void ap_add_output_filters_by_type | ( | request_rec * | r | ) |
| void ap_add_per_dir_conf | ( | server_rec * | s, |
| void * | dir_config | ||
| ) |
| void ap_add_per_url_conf | ( | server_rec * | s, |
| void * | url_config | ||
| ) |
| int ap_allow_options | ( | request_rec * | r | ) |
| int ap_allow_overrides | ( | request_rec * | r | ) |
| const char * ap_auth_name | ( | request_rec * | r | ) |
| const char * ap_auth_type | ( | request_rec * | r | ) |
| char * ap_construct_url | ( | apr_pool_t * | p, |
| const char * | uri, | ||
| request_rec * | r | ||
| ) |
| apr_status_t ap_core_input_filter | ( | ap_filter_t * | f, |
| apr_bucket_brigade * | b, | ||
| ap_input_mode_t | mode, | ||
| apr_read_type_e | block, | ||
| apr_off_t | readbytes | ||
| ) |
Definition at line 90 of file core_filters.c.
| apr_status_t ap_core_output_filter | ( | ap_filter_t * | f, |
| apr_bucket_brigade * | b | ||
| ) |
< Can write without blocking
Definition at line 453 of file core_filters.c.
| void ap_core_reorder_directories | ( | apr_pool_t * | p, |
| server_rec * | s | ||
| ) |
| int ap_core_translate | ( | request_rec * | r | ) |
| void ap_custom_response | ( | request_rec * | r, |
| int | status, | ||
| const char * | string | ||
| ) |
| const char * ap_document_root | ( | request_rec * | r | ) |
| apr_socket_t * ap_get_conn_socket | ( | conn_rec * | c | ) |
| void * ap_get_core_module_config | ( | const ap_conf_vector_t * | cv | ) |
Accessor for core_module's specific data. Equivalent to ap_get_module_config(cv, &core_module) but more efficient.
| cv | The vector in which the modules configuration is stored. usually r->per_dir_config or s->module_config |
Definition at line 126 of file util_debug.c.
| apr_off_t ap_get_limit_req_body | ( | const request_rec * | r | ) |
| apr_size_t ap_get_limit_xml_body | ( | const request_rec * | r | ) |
| apr_status_t ap_get_pollfd_from_conn | ( | conn_rec * | c, |
| struct apr_pollfd_t * | pfd, | ||
| apr_interval_time_t * | ptimeout | ||
| ) |
Pass in a struct apr_pollfd_t* and get desc_type and desc populated with a suitable value for polling connection input. For primary connection (c->master == NULL), this will be the connection socket. For secondary connections this may differ or not be available at all. Note that APR_NO_DESC may be set to indicate that the connection input is already closed.
| pfd | the pollfd to set the descriptor in |
| ptimeout | != NULL to retrieve the timeout in effect |
| apr_size_t ap_get_read_buf_size | ( | const request_rec * | r | ) |
| const char * ap_get_remote_logname | ( | request_rec * | r | ) |
| void ** ap_get_request_note | ( | request_rec * | r, |
| apr_size_t | note_num | ||
| ) |
Retrieve a pointer to an element in the core_request_config->notes array
| r | The request |
| note_num | A key for the element: either a value obtained from ap_register_request_note() or one of the predefined AP_NOTE_* values. |
| const char * ap_get_server_name | ( | request_rec * | r | ) |
| const char * ap_get_server_name_for_url | ( | request_rec * | r | ) |
| apr_port_t ap_get_server_port | ( | const request_rec * | r | ) |
| const char * ap_get_server_protocol | ( | server_rec * | s | ) |
| apr_array_header_t * ap_hook_get_error_log | ( | void | ) |
| apr_array_header_t * ap_hook_get_get_mgmt_items | ( | void | ) |
| apr_array_header_t * ap_hook_get_get_pollfd_from_conn | ( | void | ) |
| apr_array_header_t * ap_hook_get_insert_network_bucket | ( | void | ) |
| int ap_is_recursion_limit_exceeded | ( | const request_rec * | r | ) |
| void ap_register_config_hooks | ( | apr_pool_t * | p | ) |
| void ap_register_errorlog_handler | ( | apr_pool_t * | p, |
| char * | tag, | ||
| ap_errorlog_handler_fn_t * | handler, | ||
| int | flags | ||
| ) |
| void ap_register_log_hooks | ( | apr_pool_t * | p | ) |
| apr_size_t ap_register_request_note | ( | void | ) |
Reserve an element in the core_request_config->notes array for some application-specific data
| void ap_run_error_log | ( | const ap_errorlog_info * | info, |
| const char * | errstr | ||
| ) |
| int ap_run_get_mgmt_items | ( | apr_pool_t * | p, |
| const char * | val, | ||
| apr_hash_t * | ht | ||
| ) |
| apr_status_t ap_run_get_pollfd_from_conn | ( | conn_rec * | c, |
| struct apr_pollfd_t * | pfd, | ||
| apr_interval_time_t * | ptimeout | ||
| ) |
| apr_status_t ap_run_insert_network_bucket | ( | conn_rec * | c, |
| apr_bucket_brigade * | bb, | ||
| apr_socket_t * | socket | ||
| ) |
| int ap_satisfies | ( | request_rec * | r | ) |
How the requires lines must be met.
| r | The current request |
SATISFY_ANY -- any of the requirements must be met.
SATISFY_ALL -- all of the requirements must be met.
SATISFY_NOSPEC -- There are no applicable satisfy lines
| void ap_set_core_module_config | ( | ap_conf_vector_t * | cv, |
| void * | val | ||
| ) |
Accessor to set core_module's specific data. Equivalent to ap_set_module_config(cv, &core_module, val) but more efficient.
| cv | The vector in which the modules configuration is stored. usually r->per_dir_config or s->module_config |
| val | The module-specific data to set |
Definition at line 233 of file util_debug.c.
| void ap_set_server_protocol | ( | server_rec * | s, |
| const char * | proto | ||
| ) |
|
extern |
|
extern |
|
extern |
|
extern |