|
| const char * | ap_context_document_root (request_rec *r) |
| |
| const char * | ap_context_prefix (request_rec *r) |
| |
| void | ap_set_context_info (request_rec *r, const char *prefix, const char *document_root) |
| |
| void | ap_set_document_root (request_rec *r, const char *document_root) |
| |
| char * | ap_field_noparam (apr_pool_t *p, const char *intype) |
| |
| char * | ap_ht_time (apr_pool_t *p, apr_time_t t, const char *fmt, int gmt) |
| |
| char * | ap_getword (apr_pool_t *p, const char **line, char stop) |
| |
| char * | ap_getword_nc (apr_pool_t *p, char **line, char stop) |
| |
| char * | ap_getword_white (apr_pool_t *p, const char **line) |
| |
| char * | ap_getword_white_nc (apr_pool_t *p, char **line) |
| |
| char * | ap_getword_nulls (apr_pool_t *p, const char **line, char stop) |
| |
| char * | ap_getword_nulls_nc (apr_pool_t *p, char **line, char stop) |
| |
| char * | ap_getword_conf (apr_pool_t *p, const char **line) |
| |
| char * | ap_getword_conf_nc (apr_pool_t *p, char **line) |
| |
| char * | ap_getword_conf2 (apr_pool_t *p, const char **line) |
| |
| char * | ap_getword_conf2_nc (apr_pool_t *p, char **line) |
| |
| const char * | ap_resolve_env (apr_pool_t *p, const char *word) |
| |
| const char * | ap_size_list_item (const char **field, int *len) |
| |
| char * | ap_get_list_item (apr_pool_t *p, const char **field) |
| |
| int | ap_find_list_item (apr_pool_t *p, const char *line, const char *tok) |
| |
| int | ap_find_etag_weak (apr_pool_t *p, const char *line, const char *tok) |
| |
| int | ap_find_etag_strong (apr_pool_t *p, const char *line, const char *tok) |
| |
| const char * | ap_scan_http_field_content (const char *ptr) |
| |
| const char * | ap_scan_http_token (const char *ptr) |
| |
| const char * | ap_scan_vchar_obstext (const char *ptr) |
| |
| const char * | ap_parse_token_list_strict (apr_pool_t *p, const char *tok, apr_array_header_t **tokens, int skip_invalid) |
| |
| char * | ap_get_token (apr_pool_t *p, const char **accept_line, int accept_white) |
| |
| int | ap_find_token (apr_pool_t *p, const char *line, const char *tok) |
| |
| int | ap_find_last_token (apr_pool_t *p, const char *line, const char *tok) |
| |
| int | ap_is_url (const char *u) |
| |
| int | ap_unescape_all (char *url) |
| |
| int | ap_unescape_url (char *url) |
| |
| int | ap_unescape_url_keep2f (char *url, int decode_slashes) |
| |
| int | ap_unescape_url_ex (char *url, unsigned int flags) |
| |
| int | ap_unescape_urlencoded (char *query) |
| |
| void | ap_no2slash (char *name) |
| |
| void | ap_no2slash_ex (char *name, int is_fs_path) |
| |
| int | ap_normalize_path (char *path, unsigned int flags) |
| |
| void | ap_getparents (char *name) |
| |
| char * | ap_escape_path_segment (apr_pool_t *p, const char *s) |
| |
| char * | ap_escape_path_segment_buffer (char *c, const char *s) |
| |
| char * | ap_os_escape_path (apr_pool_t *p, const char *path, int partial) |
| |
| char * | ap_escape_urlencoded (apr_pool_t *p, const char *s) |
| |
| char * | ap_escape_urlencoded_buffer (char *c, const char *s) |
| |
| char * | ap_escape_html2 (apr_pool_t *p, const char *s, int toasc) |
| |
| char * | ap_escape_logitem (apr_pool_t *p, const char *str) |
| |
| apr_size_t | ap_escape_errorlog_item (char *dest, const char *source, apr_size_t buflen) |
| |
| char * | ap_construct_server (apr_pool_t *p, const char *hostname, apr_port_t port, const request_rec *r) |
| |
| char * | ap_escape_shell_cmd (apr_pool_t *p, const char *s) |
| |
| int | ap_count_dirs (const char *path) |
| |
| char * | ap_make_dirstr_prefix (char *d, const char *s, int n) |
| |
| char * | ap_make_dirstr_parent (apr_pool_t *p, const char *s) |
| |
| char * | ap_make_full_path (apr_pool_t *a, const char *dir, const char *f) |
| |
| int | ap_os_is_path_absolute (apr_pool_t *p, const char *dir) |
| |
| int | ap_is_matchexp (const char *str) |
| |
| int | ap_strcmp_match (const char *str, const char *expected) |
| |
| int | ap_strcasecmp_match (const char *str, const char *expected) |
| |
| char * | ap_strcasestr (const char *s1, const char *s2) |
| |
| const char * | ap_stripprefix (const char *bigstring, const char *prefix) |
| |
| char * | ap_pbase64decode (apr_pool_t *p, const char *bufcoded) |
| |
| char * | ap_pbase64encode (apr_pool_t *p, char *string) |
| |
| ap_regex_t * | ap_pregcomp (apr_pool_t *p, const char *pattern, int cflags) |
| |
| void | ap_pregfree (apr_pool_t *p, ap_regex_t *reg) |
| |
| char * | ap_pregsub (apr_pool_t *p, const char *input, const char *source, apr_size_t nmatch, ap_regmatch_t pmatch[]) |
| |
| 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) |
| |
| void | ap_content_type_tolower (char *s) |
| |
| void | ap_str_tolower (char *s) |
| |
| void | ap_str_toupper (char *s) |
| |
| int | ap_ind (const char *str, char c) |
| |
| int | ap_rind (const char *str, char c) |
| |
| char * | ap_escape_quotes (apr_pool_t *p, const char *instring) |
| |
| char * | ap_append_pid (apr_pool_t *p, const char *string, const char *delim) |
| |
| int | ap_parse_strict_length (apr_off_t *len, const char *str) |
| |
| apr_status_t | ap_timeout_parameter_parse (const char *timeout_parameter, apr_interval_time_t *timeout, const char *default_time_unit) |
| |
| int | ap_request_has_body (request_rec *r) |
| |
| apr_status_t | ap_pstr2_alnum (apr_pool_t *p, const char *src, const char **dest) |
| |
| apr_status_t | ap_str2_alnum (const char *src, char *dest) |
| |
| 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) |
| |
| int | ap_is_rdirectory (apr_pool_t *p, const char *name) |
| |
| int | ap_is_directory (apr_pool_t *p, const char *name) |
| |
| char * | ap_get_local_host (apr_pool_t *p) |
| |
| void | ap_log_assert (const char *szExp, const char *szFile, int nLine) __attribute__((noreturn)) |
| |
| const char * | ap_psignature (const char *prefix, request_rec *r) |
| |
| char * | ap_strchr (char *s, int c) |
| |
| const char * | ap_strchr_c (const char *s, int c) |
| |
| char * | ap_strrchr (char *s, int c) |
| |
| const char * | ap_strrchr_c (const char *s, int c) |
| |
| char * | ap_strstr (char *s, const char *c) |
| |
| const char * | ap_strstr_c (const char *s, const char *c) |
| |
| void | ap_random_insecure_bytes (void *buf, apr_size_t size) |
| |
| apr_uint32_t | ap_random_pick (apr_uint32_t min, apr_uint32_t max) |
| |
| void | ap_abort_on_oom (void) __attribute__((noreturn)) |
| |
| void * | ap_malloc (size_t size) __attribute__((malloc)) |
| |
| void * | ap_calloc (size_t nelem, size_t size) __attribute__((malloc)) |
| |
| void * | ap_realloc (void *ptr, size_t size) |
| |
| void | ap_get_sload (ap_sload_t *ld) |
| |
| void | ap_get_loadavg (ap_loadavg_t *ld) |
| |
| void | ap_bin2hex (const void *src, apr_size_t srclen, char *dest) |
| |
| char * | ap_get_exec_line (apr_pool_t *p, const char *cmd, const char *const *argv) |
| |
| int | ap_array_str_index (const apr_array_header_t *array, const char *s, int start) |
| |
| int | ap_array_str_contains (const apr_array_header_t *array, const char *s) |
| |
| int | ap_cstr_casecmp (const char *s1, const char *s2) |
| |
| int | ap_cstr_casecmpn (const char *s1, const char *s2, apr_size_t n) |
| |
| const char * | ap_dir_nofnmatch (ap_dir_match_t *w, const char *fname) __attribute__((nonnull(1 |
| |
| const char const char * | ap_dir_fnmatch (ap_dir_match_t *w, const char *path, const char *fname) __attribute__((nonnull(1 |
| |
| const char const char int | ap_is_chunked (apr_pool_t *p, const char *line) |
| |
| apr_status_t | ap_filepath_merge (char **newpath, const char *rootpath, const char *addpath, apr_int32_t flags, apr_pool_t *p) |
| |
Possible values of request_rec->proxyreq. A request could be normal, proxied or reverse proxied. Normally proxied and reverse proxied are grouped together as just "proxied", but sometimes it's necessary to tell the difference between the two, such as for authentication.
Perform a case-insensitive comparison of two strings str1 and str2, treating upper and lower case values of the 26 standard C/POSIX alphabetic characters as equivalent. Extended latin characters outside of this set are treated as unique octets, irrespective of the current locale.
Returns in integer greater than, equal to, or less than 0, according to whether str1 is considered greater than, equal to, or less than str2.
- Note
- Same code as apr_cstr_casecmp, which arrives in APR 1.6
Definition at line 3542 of file util.c.
Perform a case-insensitive comparison of two strings str1 and str2, treating upper and lower case values of the 26 standard C/POSIX alphabetic characters as equivalent. Extended latin characters outside of this set are treated as unique octets, irrespective of the current locale.
Returns in integer greater than, equal to, or less than 0, according to whether str1 is considered greater than, equal to, or less than str2.
- Note
- Same code as apr_cstr_casecmpn, which arrives in APR 1.6
Definition at line 3559 of file util.c.
Search for files given a wildcard filename with non native separators.
If the filename contains a wildcard, all files and directories that match the wildcard will be returned.
ap_dir_nofnmatch() is called for each directory and file found, and the callback within ap_dir_match_t triggered as described above.
Wildcards may appear in both directory and file components in the path, and wildcards may appear more than once.
- Parameters
-
| w | Directory match structure containing callback and context. |
| path | Path prefix for search, with non native separators and no wildcards. |
| fname | The name of the file or directory, with non native separators and optional wildcards. |
- Returns
- NULL on success, or a string describing the error.
Search for files given a non wildcard filename with non native separators.
If the provided filename points at a file, the callback within ap_dir_match_t is triggered for that file, and this function returns the result of the callback.
If the provided filename points at a directory, and recursive within ap_dir_match_t is true, the callback will be triggered for every file found recursively beneath that directory, otherwise the callback is triggered once for the directory itself. This function returns the result of the callback.
If the provided path points to neither a file nor a directory, and optional within ap_dir_match_t is true, this function returns NULL. If optional within ap_dir_match_t is false, this function will return an error string indicating that the path does not exist.
- Parameters
-
| w | Directory match structure containing callback and context. |
| fname | The name of the file or directory, with non native separators. |
- Returns
- NULL on success, or a string describing the error.