82#define HTTPD_ROOT "/os2httpd"
85#define HTTPD_ROOT "/apache"
86#elif defined (NETWARE)
88#define HTTPD_ROOT "/apache"
91#define HTTPD_ROOT "/usr/local/apache"
107#ifndef DOCUMENT_LOCATION
110#define DOCUMENT_LOCATION HTTPD_ROOT "/docs"
113#define DOCUMENT_LOCATION HTTPD_ROOT "/htdocs"
118#ifndef DYNAMIC_MODULE_LIMIT
119#define DYNAMIC_MODULE_LIMIT 256
123#define DEFAULT_ADMIN "[no address given]"
126#ifndef DEFAULT_ERRORLOG
127#if defined(OS2) || defined(WIN32)
128#define DEFAULT_ERRORLOG "logs/error.log"
130#define DEFAULT_ERRORLOG "logs/error_log"
135#ifndef DEFAULT_ACCESS_FNAME
138#define DEFAULT_ACCESS_FNAME "htaccess"
140#define DEFAULT_ACCESS_FNAME ".htaccess"
145#ifndef SERVER_CONFIG_FILE
146#define SERVER_CONFIG_FILE "conf/httpd.conf"
151#define DEFAULT_PATH "/bin:/usr/bin:/usr/ucb:/usr/bsd:/usr/local/bin"
156#define SUEXEC_BIN HTTPD_ROOT "/bin/suexec"
160#ifndef DEFAULT_TIMEOUT
161#define DEFAULT_TIMEOUT 60
165#ifndef DEFAULT_KEEPALIVE_TIMEOUT
166#define DEFAULT_KEEPALIVE_TIMEOUT 5
170#ifndef DEFAULT_KEEPALIVE
171#define DEFAULT_KEEPALIVE 100
193#ifndef DEFAULT_LIMIT_REQUEST_LINE
194#define DEFAULT_LIMIT_REQUEST_LINE 8190
197#ifndef DEFAULT_LIMIT_REQUEST_FIELDSIZE
198#define DEFAULT_LIMIT_REQUEST_FIELDSIZE 8190
201#ifndef DEFAULT_LIMIT_REQUEST_FIELDS
202#define DEFAULT_LIMIT_REQUEST_FIELDS 100
205#ifndef DEFAULT_LIMIT_BLANK_LINES
206#define DEFAULT_LIMIT_BLANK_LINES 10
213#define DEFAULT_ADD_DEFAULT_CHARSET_NAME "iso-8859-1"
216#define AP_SERVER_PROTOCOL "HTTP/1.1"
222#ifndef AP_DEFAULT_INDEX
223#define AP_DEFAULT_INDEX "index.html"
227#ifndef AP_TYPES_CONFIG_FILE
228#define AP_TYPES_CONFIG_FILE "conf/mime.types"
235#define DOCTYPE_HTML_2_0 "<!DOCTYPE HTML PUBLIC \"-//IETF//" \
236 "DTD HTML 2.0//EN\">\n"
238#define DOCTYPE_HTML_3_2 "<!DOCTYPE HTML PUBLIC \"-//W3C//" \
239 "DTD HTML 3.2 Final//EN\">\n"
241#define DOCTYPE_HTML_4_0S "<!DOCTYPE HTML PUBLIC \"-//W3C//" \
242 "DTD HTML 4.0//EN\"\n" \
243 "\"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
245#define DOCTYPE_HTML_4_0T "<!DOCTYPE HTML PUBLIC \"-//W3C//" \
246 "DTD HTML 4.0 Transitional//EN\"\n" \
247 "\"http://www.w3.org/TR/REC-html40/loose.dtd\">\n"
249#define DOCTYPE_HTML_4_0F "<!DOCTYPE HTML PUBLIC \"-//W3C//" \
250 "DTD HTML 4.0 Frameset//EN\"\n" \
251 "\"http://www.w3.org/TR/REC-html40/frameset.dtd\">\n"
253#define DOCTYPE_XHTML_1_0S "<!DOCTYPE html PUBLIC \"-//W3C//" \
254 "DTD XHTML 1.0 Strict//EN\"\n" \
255 "\"http://www.w3.org/TR/xhtml1/DTD/" \
256 "xhtml1-strict.dtd\">\n"
258#define DOCTYPE_XHTML_1_0T "<!DOCTYPE html PUBLIC \"-//W3C//" \
259 "DTD XHTML 1.0 Transitional//EN\"\n" \
260 "\"http://www.w3.org/TR/xhtml1/DTD/" \
261 "xhtml1-transitional.dtd\">\n"
263#define DOCTYPE_XHTML_1_0F "<!DOCTYPE html PUBLIC \"-//W3C//" \
264 "DTD XHTML 1.0 Frameset//EN\"\n" \
265 "\"http://www.w3.org/TR/xhtml1/DTD/" \
266 "xhtml1-frameset.dtd\">"
269#define HTTP_VERSION(major,minor) (1000*(major)+(minor))
271#define HTTP_VERSION_MAJOR(number) ((number)/1000)
273#define HTTP_VERSION_MINOR(number) ((number)%1000)
278#define DEFAULT_HTTP_PORT 80
280#define DEFAULT_HTTPS_PORT 443
287#define ap_is_default_port(port,r) ((port) == ap_default_port(r))
292#define ap_default_port(r) ap_run_default_port(r)
297#define ap_http_scheme(r) ap_run_http_scheme(r)
300#define MAX_STRING_LEN HUGE_STRING_LEN
303#define HUGE_STRING_LEN 8192
306#define AP_IOBUFSIZE 8192
309#define AP_MAX_REG_MATCH 10
317#define AP_MAX_SENDFILE 16777216
327#define APEXIT_INIT 0x2
329#define APEXIT_CHILDINIT 0x3
335#define APEXIT_CHILDSICK 0x7
341#define APEXIT_CHILDFATAL 0xf
349# define AP_DECLARE(type) type
352#ifndef AP_DECLARE_NONSTD
360# define AP_DECLARE_NONSTD(type) type
362#ifndef AP_DECLARE_DATA
363# define AP_DECLARE_DATA
366#ifndef AP_MODULE_DECLARE
367# define AP_MODULE_DECLARE(type) type
369#ifndef AP_MODULE_DECLARE_NONSTD
370# define AP_MODULE_DECLARE_NONSTD(type) type
372#ifndef AP_MODULE_DECLARE_DATA
373# define AP_MODULE_DECLARE_DATA
380#ifndef AP_CORE_DECLARE
381# define AP_CORE_DECLARE AP_DECLARE
389#ifndef AP_CORE_DECLARE_NONSTD
390# define AP_CORE_DECLARE_NONSTD AP_DECLARE_NONSTD
397#define AP_START_USERERR (APR_OS_START_USERERR + 2000)
398#define AP_USERERR_LEN 1000
401#define AP_DECLINED (AP_START_USERERR + 0)
466#define AP_NOBODY_WROTE -100
469#define AP_NOBODY_READ -101
473#define AP_FILTER_ERROR -102
485#define RESPONSE_CODES 103
487#define HTTP_CONTINUE 100
488#define HTTP_SWITCHING_PROTOCOLS 101
489#define HTTP_PROCESSING 102
491#define HTTP_CREATED 201
492#define HTTP_ACCEPTED 202
493#define HTTP_NON_AUTHORITATIVE 203
494#define HTTP_NO_CONTENT 204
495#define HTTP_RESET_CONTENT 205
496#define HTTP_PARTIAL_CONTENT 206
497#define HTTP_MULTI_STATUS 207
498#define HTTP_ALREADY_REPORTED 208
499#define HTTP_IM_USED 226
500#define HTTP_MULTIPLE_CHOICES 300
501#define HTTP_MOVED_PERMANENTLY 301
502#define HTTP_MOVED_TEMPORARILY 302
503#define HTTP_SEE_OTHER 303
504#define HTTP_NOT_MODIFIED 304
505#define HTTP_USE_PROXY 305
506#define HTTP_TEMPORARY_REDIRECT 307
507#define HTTP_PERMANENT_REDIRECT 308
508#define HTTP_BAD_REQUEST 400
509#define HTTP_UNAUTHORIZED 401
510#define HTTP_PAYMENT_REQUIRED 402
511#define HTTP_FORBIDDEN 403
512#define HTTP_NOT_FOUND 404
513#define HTTP_METHOD_NOT_ALLOWED 405
514#define HTTP_NOT_ACCEPTABLE 406
515#define HTTP_PROXY_AUTHENTICATION_REQUIRED 407
516#define HTTP_REQUEST_TIME_OUT 408
517#define HTTP_CONFLICT 409
519#define HTTP_LENGTH_REQUIRED 411
520#define HTTP_PRECONDITION_FAILED 412
521#define HTTP_REQUEST_ENTITY_TOO_LARGE 413
522#define HTTP_REQUEST_URI_TOO_LARGE 414
523#define HTTP_UNSUPPORTED_MEDIA_TYPE 415
524#define HTTP_RANGE_NOT_SATISFIABLE 416
525#define HTTP_EXPECTATION_FAILED 417
526#define HTTP_MISDIRECTED_REQUEST 421
527#define HTTP_UNPROCESSABLE_ENTITY 422
528#define HTTP_LOCKED 423
529#define HTTP_FAILED_DEPENDENCY 424
530#define HTTP_UPGRADE_REQUIRED 426
531#define HTTP_PRECONDITION_REQUIRED 428
532#define HTTP_TOO_MANY_REQUESTS 429
533#define HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE 431
534#define HTTP_UNAVAILABLE_FOR_LEGAL_REASONS 451
535#define HTTP_INTERNAL_SERVER_ERROR 500
536#define HTTP_NOT_IMPLEMENTED 501
537#define HTTP_BAD_GATEWAY 502
538#define HTTP_SERVICE_UNAVAILABLE 503
539#define HTTP_GATEWAY_TIME_OUT 504
540#define HTTP_VERSION_NOT_SUPPORTED 505
541#define HTTP_VARIANT_ALSO_VARIES 506
542#define HTTP_INSUFFICIENT_STORAGE 507
543#define HTTP_LOOP_DETECTED 508
544#define HTTP_NOT_EXTENDED 510
545#define HTTP_NETWORK_AUTHENTICATION_REQUIRED 511
548#define ap_is_HTTP_INFO(x) (((x) >= 100)&&((x) < 200))
550#define ap_is_HTTP_SUCCESS(x) (((x) >= 200)&&((x) < 300))
552#define ap_is_HTTP_REDIRECT(x) (((x) >= 300)&&((x) < 400))
554#define ap_is_HTTP_ERROR(x) (((x) >= 400)&&((x) < 600))
556#define ap_is_HTTP_CLIENT_ERROR(x) (((x) >= 400)&&((x) < 500))
558#define ap_is_HTTP_SERVER_ERROR(x) (((x) >= 500)&&((x) < 600))
560#define ap_is_HTTP_VALID_RESPONSE(x) (((x) >= 100)&&((x) < 600))
563#define ap_status_drops_connection(x) \
564 (((x) == HTTP_BAD_REQUEST) || \
565 ((x) == HTTP_REQUEST_TIME_OUT) || \
566 ((x) == HTTP_LENGTH_REQUIRED) || \
567 ((x) == HTTP_REQUEST_ENTITY_TOO_LARGE) || \
568 ((x) == HTTP_REQUEST_URI_TOO_LARGE) || \
569 ((x) == HTTP_INTERNAL_SERVER_ERROR) || \
570 ((x) == HTTP_SERVICE_UNAVAILABLE) || \
571 ((x) == HTTP_NOT_IMPLEMENTED))
574#define AP_STATUS_IS_HEADER_ONLY(x) ((x) == HTTP_NO_CONTENT || \
575 (x) == HTTP_NOT_MODIFIED)
607#define M_VERSION_CONTROL 15
609#define M_UNCHECKOUT 17
614#define M_MKWORKSPACE 22
615#define M_MKACTIVITY 23
616#define M_BASELINE_CONTROL 24
629#define AP_METHOD_BIT ((apr_int64_t)1)
669#define AP_REQUEST_STRONG_ETAG 1 >> 0
670#define AP_REQUEST_TRUSTED_CT 1 << 1
676#define AP_REQUEST_GET_BNOTE(r, mask) \
677 ((mask) & ((r)->bnotes))
683#define AP_REQUEST_SET_BNOTE(r, mask, val) \
684 (r)->bnotes = (((r)->bnotes & ~(mask)) | (val))
689#define AP_REQUEST_IS_STRONG_ETAG(r) \
690 AP_REQUEST_GET_BNOTE((r), AP_REQUEST_STRONG_ETAG)
696#define AP_REQUEST_IS_TRUSTED_CT(r) \
697 (!!AP_REQUEST_GET_BNOTE((r), AP_REQUEST_TRUSTED_CT))
705#define CGI_MAGIC_TYPE "application/x-httpd-cgi"
707#define INCLUDES_MAGIC_TYPE "text/x-server-parsed-html"
709#define INCLUDES_MAGIC_TYPE3 "text/x-server-parsed-html3"
711#define DIR_MAGIC_TYPE "httpd/unix-directory"
713#define AP_DEFAULT_HANDLER_NAME ""
714#define AP_IS_DEFAULT_HANDLER_NAME(x) (*x == '\0')
718#if !APR_CHARSET_EBCDIC
724#define CRLF "\015\012"
737#define CRLF_ASCII "\015\012"
746#define REQUEST_NO_BODY 0
748#define REQUEST_CHUNKED_ERROR 1
750#define REQUEST_CHUNKED_DECHUNK 2
761#define AP_REQ_ACCEPT_PATH_INFO 0
763#define AP_REQ_REJECT_PATH_INFO 1
765#define AP_REQ_DEFAULT_PATH_INFO 2
1133#define PROXYREQ_NONE 0
1134#define PROXYREQ_PROXY 1
1135#define PROXYREQ_REVERSE 2
1136#define PROXYREQ_RESPONSE 3
1293#define DEFAULT_VHOST_ADDR 0xfffffffful
1463 const char *document_root);
1752#define AP_UNESCAPE_URL_KEEP_UNRESERVED (1u << 0)
1753#define AP_UNESCAPE_URL_FORBID_SLASHES (1u << 1)
1754#define AP_UNESCAPE_URL_KEEP_SLASHES (1u << 2)
1787#define AP_NORMALIZE_ALLOW_RELATIVE (1u << 0)
1788#define AP_NORMALIZE_NOT_ABOVE_ROOT (1u << 1)
1789#define AP_NORMALIZE_DECODE_UNRESERVED (1u << 2)
1790#define AP_NORMALIZE_MERGE_SLASHES (1u << 3)
1791#define AP_NORMALIZE_DROP_PARAMETERS (0)
1836#define ap_escape_uri(ppool,path) ap_os_escape_path(ppool,path,1)
1860#define ap_escape_html(p,s) ap_escape_html2(p,s,0)
2168 const char *timeout_parameter,
2170 const char *default_time_unit);
2229 apr_size_t
num, apr_size_t
size);
2271#define ap_assert(exp) ((exp) ? (void)0 : ap_log_assert(#exp,__FILE__,__LINE__))
2281#define AP_DEBUG_ASSERT(exp) ap_assert(exp)
2283#define AP_DEBUG_ASSERT(exp) ((void)0)
2295#define SIGSTOP_DETACH 1
2297#define SIGSTOP_MAKE_CHILD 2
2299#define SIGSTOP_SPAWN_CHILD 4
2301#define SIGSTOP_PIPED_LOG_SPAWN 8
2303#define SIGSTOP_CGI_CHILD 16
2307extern int raise_sigstop_flags;
2308#define RAISE_SIGSTOP(x) do { \
2309 if (raise_sigstop_flags & SIGSTOP_##x) raise(SIGSTOP);\
2312#define RAISE_SIGSTOP(x)
2342# define strchr(s, c) ap_strchr(s,c)
2344# define strrchr(s, c) ap_strrchr(s,c)
2346# define strstr(s, c) ap_strstr(s,c)
2351# define ap_strchr(s, c) strchr(s, c)
2353# define ap_strchr_c(s, c) strchr(s, c)
2355# define ap_strrchr(s, c) strrchr(s, c)
2357# define ap_strrchr_c(s, c) strrchr(s, c)
2359# define ap_strstr(s, c) strstr(s, c)
2361# define ap_strstr_c(s, c) strstr(s, c)
2423#if APR_VERSION_AT_LEAST(1,8,0) && !defined(AP_NO_THREAD_LOCAL)
2428#if APR_HAS_THREAD_LOCAL
2429#define AP_HAS_THREAD_LOCAL 1
2430#define AP_THREAD_LOCAL APR_THREAD_LOCAL
2432#define AP_HAS_THREAD_LOCAL 0
2434#define ap_thread_create apr_thread_create
2435#define ap_thread_current apr_thread_current
2436#define ap_thread_current_create apr_thread_current_create
2437#define ap_thread_current_after_fork apr_thread_current_after_fork
2441#ifndef AP_NO_THREAD_LOCAL
2445#if defined(__cplusplus) && __cplusplus >= 201103L
2446#define AP_THREAD_LOCAL thread_local
2447#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112 && \
2448 (!defined(__GNUC__) || \
2449 __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 9))
2450#define AP_THREAD_LOCAL _Thread_local
2451#elif defined(__GNUC__)
2452#define AP_THREAD_LOCAL __thread
2453#elif defined(WIN32) && defined(_MSC_VER)
2454#define AP_THREAD_LOCAL __declspec(thread)
2458#ifndef AP_THREAD_LOCAL
2459#define AP_HAS_THREAD_LOCAL 0
2460#define ap_thread_create apr_thread_create
2462#define AP_HAS_THREAD_LOCAL 1
2472AP_DECLARE(
void) ap_thread_current_after_fork(
void);
2482#define AP_HAS_THREAD_LOCAL 0
2517 const char *
const *
argv);
2519#define AP_NORESTART APR_OS_START_USEERR + 1
2574#define AP_DIR_FLAG_NONE 0
2580#define AP_DIR_FLAG_OPTIONAL 1
2586#define AP_DIR_FLAG_RECURSIVE 2
2688#define apr_filepath_merge ap_filepath_merge
2694#ifdef CASE_BLIND_FILESYSTEM
2695#define AP_IS_SLASH(s) ((s == '/') || (s == '\\'))
2696#define AP_SLASHES "/\\"
2698#define AP_IS_SLASH(s) (s == '/')
2699#define AP_SLASHES "/"
Symbol export macros and hook functions.
#define AP_FN_ATTR_WARN_UNUSED_RESULT
#define AP_FN_ATTR_ALLOC_SIZE2(x, y)
#define AP_FN_ATTR_ALLOC_SIZE(x)
const char apr_size_t ap_regmatch_t * pmatch
const char apr_size_t len
const char apr_size_t nmatch
APR-UTIL Buckets/Bucket Brigades.
APR Miscellaneous library routines.
apr_size_t const unsigned char unsigned int unsigned int d
APR Thread and Process Library.
APR Versioning Interface.
static apr_pool_t * pconf
struct ap_conf_vector_t ap_conf_vector_t
request_rec int int apr_table_t const char * path
void ap_get_server_revision(ap_version_t *version)
void ap_add_version_component(apr_pool_t *pconf, const char *component)
const char * ap_get_server_built(void)
const char * ap_get_server_description(void)
const char * ap_get_server_banner(void)
const unsigned char * buf
const char apr_port_t port
apr_file_t apr_off_t start
apr_bucket apr_bucket_brigade * a
apr_pool_t apr_dbd_t const char * query
const char apr_ssize_t int flags
const char apr_ssize_t int partial
const void apr_size_t srclen
const char apr_ssize_t int toasc
char * ap_append_pid(apr_pool_t *p, const char *string, const char *delim)
int ap_array_str_index(const apr_array_header_t *array, const char *s, int start)
void ap_random_insecure_bytes(void *buf, apr_size_t size)
char * ap_getword_white(apr_pool_t *p, const char **line)
int ap_strcmp_match(const char *str, const char *expected)
ap_conn_keepalive_e
Enumeration of connection keepalive options.
int ap_strcasecmp_match(const char *str, const char *expected)
void ap_set_document_root(request_rec *r, const char *document_root)
char * ap_get_exec_line(apr_pool_t *p, const char *cmd, const char *const *argv)
char * ap_getword_white_nc(apr_pool_t *p, char **line)
const char const char int ap_is_chunked(apr_pool_t *p, const char *line)
int ap_is_directory(apr_pool_t *p, const char *name)
char * ap_getword_nulls_nc(apr_pool_t *p, char **line, char stop)
char * ap_escape_urlencoded_buffer(char *c, const char *s)
char * ap_get_local_host(apr_pool_t *p)
int ap_is_url(const char *u)
char * ap_make_full_path(apr_pool_t *a, const char *dir, const char *f)
int ap_count_dirs(const char *path)
const char * ap_scan_http_token(const char *ptr)
char * ap_getword_conf2(apr_pool_t *p, const char **line)
int ap_cstr_casecmp(const char *s1, const char *s2)
const char * ap_psignature(const char *prefix, request_rec *r)
const char * ap_parse_token_list_strict(apr_pool_t *p, const char *tok, apr_array_header_t **tokens, int skip_invalid)
char * ap_pbase64encode(apr_pool_t *p, char *string)
char * ap_make_dirstr_prefix(char *d, const char *s, int n)
void ap_get_loadavg(ap_loadavg_t *ld)
int ap_unescape_url_ex(char *url, unsigned int flags)
char * ap_getword(apr_pool_t *p, const char **line, char stop)
char * ap_escape_logitem(apr_pool_t *p, const char *str)
char * ap_escape_path_segment(apr_pool_t *p, const char *s)
int ap_normalize_path(char *path, unsigned int flags)
#define ap_strrchr_c(s, c)
char * ap_strcasestr(const char *s1, const char *s2)
#define ap_strstr_c(s, c)
int ap_find_etag_weak(apr_pool_t *p, const char *line, const char *tok)
char * ap_getword_conf_nc(apr_pool_t *p, char **line)
char * ap_escape_path_segment_buffer(char *c, const char *s)
void ap_set_context_info(request_rec *r, const char *prefix, const char *document_root)
void ap_bin2hex(const void *src, apr_size_t srclen, char *dest)
int ap_unescape_urlencoded(char *query)
void ap_log_assert(const char *szExp, const char *szFile, int nLine) __attribute__((noreturn))
char * ap_escape_shell_cmd(apr_pool_t *p, const char *s)
const char * ap_dir_nofnmatch(ap_dir_match_t *w, const char *fname) __attribute__((nonnull(1
#define ap_strchr_c(s, c)
char * ap_get_token(apr_pool_t *p, const char **accept_line, int accept_white)
const char * ap_context_prefix(request_rec *r)
const char * ap_context_document_root(request_rec *r)
const char * ap_resolve_env(apr_pool_t *p, const char *word)
char * ap_get_list_item(apr_pool_t *p, const char **field)
void ap_no2slash(char *name)
int ap_find_etag_strong(apr_pool_t *p, const char *line, const char *tok)
int ap_unescape_all(char *url)
apr_status_t ap_str2_alnum(const char *src, char *dest)
void ap_str_toupper(char *s)
char * ap_make_dirstr_parent(apr_pool_t *p, const char *s)
int ap_rind(const char *str, char c)
char * ap_pregsub(apr_pool_t *p, const char *input, const char *source, apr_size_t nmatch, ap_regmatch_t pmatch[])
void ap_abort_on_oom(void) __attribute__((noreturn))
int ap_is_rdirectory(apr_pool_t *p, const char *name)
char * ap_getword_conf2_nc(apr_pool_t *p, char **line)
apr_status_t ap_filepath_merge(char **newpath, const char *rootpath, const char *addpath, apr_int32_t flags, apr_pool_t *p)
int ap_request_has_body(request_rec *r)
char * ap_pbase64decode(apr_pool_t *p, const char *bufcoded)
const char * ap_scan_vchar_obstext(const char *ptr)
void ap_content_type_tolower(char *s)
int ap_find_token(apr_pool_t *p, const char *line, const char *tok)
void ap_getparents(char *name)
int ap_parse_form_data(request_rec *r, struct ap_filter_t *f, apr_array_header_t **ptr, apr_size_t num, apr_size_t size)
char * ap_getword_nulls(apr_pool_t *p, const char **line, char stop)
apr_status_t ap_pregsub_ex(apr_pool_t *p, char **result, const char *input, const char *source, apr_size_t nmatch, ap_regmatch_t pmatch[], apr_size_t maxlen)
int ap_cstr_casecmpn(const char *s1, const char *s2, apr_size_t n)
void * ap_calloc(size_t nelem, size_t size) __attribute__((malloc))
char * ap_escape_html2(apr_pool_t *p, const char *s, int toasc)
int ap_is_matchexp(const char *str)
const char * ap_scan_http_field_content(const char *ptr)
char * ap_ht_time(apr_pool_t *p, apr_time_t t, const char *fmt, int gmt)
void ap_no2slash_ex(char *name, int is_fs_path)
void ap_str_tolower(char *s)
int ap_parse_strict_length(apr_off_t *len, const char *str)
char * ap_escape_urlencoded(apr_pool_t *p, const char *s)
apr_size_t ap_escape_errorlog_item(char *dest, const char *source, apr_size_t buflen)
int ap_array_str_contains(const apr_array_header_t *array, const char *s)
int ap_unescape_url(char *url)
char * ap_construct_server(apr_pool_t *p, const char *hostname, apr_port_t port, const request_rec *r)
int ap_ind(const char *str, char c)
apr_status_t ap_pstr2_alnum(apr_pool_t *p, const char *src, const char **dest)
ap_regex_t * ap_pregcomp(apr_pool_t *p, const char *pattern, int cflags)
char * ap_field_noparam(apr_pool_t *p, const char *intype)
const char * ap_size_list_item(const char **field, int *len)
apr_uint32_t ap_random_pick(apr_uint32_t min, apr_uint32_t max)
void * ap_realloc(void *ptr, size_t size)
int ap_unescape_url_keep2f(char *url, int decode_slashes)
void ap_pregfree(apr_pool_t *p, ap_regex_t *reg)
const char * ap_stripprefix(const char *bigstring, const char *prefix)
char * ap_os_escape_path(apr_pool_t *p, const char *path, int partial)
void ap_get_sload(ap_sload_t *ld)
int ap_find_list_item(apr_pool_t *p, const char *line, const char *tok)
apr_status_t ap_timeout_parameter_parse(const char *timeout_parameter, apr_interval_time_t *timeout, const char *default_time_unit)
char * ap_getword_nc(apr_pool_t *p, char **line, char stop)
void * ap_malloc(size_t size) __attribute__((malloc))
char * ap_escape_quotes(apr_pool_t *p, const char *instring)
int ap_find_last_token(apr_pool_t *p, const char *line, const char *tok)
const char const char * ap_dir_fnmatch(ap_dir_match_t *w, const char *path, const char *fname) __attribute__((nonnull(1
char * ap_getword_conf(apr_pool_t *p, const char **line)
int ap_os_is_path_absolute(apr_pool_t *p, const char *dir)
@ CONN_STATE_LINGER_NORMAL
@ CONN_STATE_READ_REQUEST_LINE
@ CONN_STATE_LINGER_SHORT
@ CONN_STATE_CHECK_REQUEST_LINE_READABLE
@ CONN_STATE_WRITE_COMPLETION
const char int apr_pool_t * pool
const char const char * addpath
apr_array_header_t ** result
apr_vformatter_buff_t const char * fmt
apr_vformatter_buff_t * c
apr_sockaddr_t apr_sockaddr_t apr_sockaddr_t * source
apr_interval_time_t apr_int32_t * num
apr_interval_time_t apr_pollcb_cb_t func
const char apr_status_t(*) apr_pool_t *poo __attribute__)((nonnull(2, 4)))
void *(APR_THREAD_FUNC * apr_thread_start_t)(apr_thread_t *, void *)
const char const char *const const char *const apr_procattr_t * attr
apr_int64_t apr_interval_time_t
apr_size_t apr_size_t max
apr_uint64_t ap_request_bnotes_t
The representation of a filter chain.
A structure to hold various server loadavg.
signed char * module_levels
Structure for handling HTTP methods.
apr_array_header_t * method_list
A structure to hold server load params.
unsigned long access_count
The numeric version information is broken out into fields within this structure.
Structure to store things which are per connection.
unsigned int clogging_input_filters
const struct ap_logconf * log
int data_in_output_filters
apr_sockaddr_t * client_addr
ap_conn_keepalive_e keepalive
apr_sockaddr_t * local_addr
struct ap_filter_t * input_filters
struct ap_filter_t * output_filters
struct apr_bucket_alloc_t * bucket_alloc
signed int double_reverse
struct ap_conf_vector_t * conn_config
int data_in_input_filters
A structure to contain connection state information.
This represents the result of calling htaccess; these are cached for each request.
apr_table_t * override_list
struct ap_conf_vector_t * htaccess
const struct htaccess_result * next
A structure that represents one process.
A structure that represents the current request.
apr_array_header_t * content_languages
const char * content_type
apr_table_t * trailers_in
struct ap_filter_t * output_filters
struct ap_filter_t * proto_input_filters
const struct htaccess_result * htaccess
apr_sockaddr_t * useragent_addr
apr_bucket_brigade * kept_body
ap_method_list_t * allowed_methods
apr_array_header_t * allowed_xmethods
apr_table_t * err_headers_out
struct ap_filter_t * proto_output_filters
char * canonical_filename
const struct ap_logconf * log
ap_request_bnotes_t bnotes
struct ap_filter_t * input_filters
struct ap_conf_vector_t * request_config
apr_table_t * subprocess_env
struct ap_conf_vector_t * per_dir_config
apr_thread_mutex_t * invoke_mtx
apr_table_t * trailers_out
const char * content_encoding
apr_table_t * headers_out
A structure to be used for Per-vhost config.
apr_sockaddr_t * host_addr
A structure to store information for each virtual server.
apr_interval_time_t timeout
unsigned defn_line_number
apr_interval_time_t keep_alive_timeout
apr_array_header_t * names
const char * server_scheme
apr_array_header_t * wild_names
struct ap_conf_vector_t * lookup_defaults
struct ap_conf_vector_t * module_config
unsigned int keep_alive_timeout_set