|
Apache HTTPD
|
#include <assert.h>#include <stdio.h>#include <apr_lib.h>#include <apr_strings.h>#include <apr_portable.h>#include <apr_file_info.h>#include <apr_fnmatch.h>#include <apr_tables.h>#include <apr_uri.h>#include "md.h"#include "md_log.h"#include "md_util.h"Go to the source code of this file.
Classes | |
| struct | md_util_fwalk_t |
| struct | link_ctx |
| struct | find_ctx |
Macros | |
| #define | N6 (unsigned int)-1 |
| #define | BASE64URL_CHAR(x) BASE64URL_CHARS[ (unsigned int)(x) & 0x3fu ] |
Variables | |
| static const char *const | hex_const [] |
| static const unsigned int | BASE64URL_UINT6 [] |
| static const unsigned char | BASE64URL_CHARS [] |
| #define BASE64URL_CHAR | ( | x | ) | BASE64URL_CHARS[ (unsigned int)(x) & 0x3fu ] |
|
static |
|
static |
| int md_array_is_empty | ( | const struct apr_array_header_t * | array | ) |
| int md_array_remove | ( | struct apr_array_header_t * | a, |
| void * | elem | ||
| ) |
| int md_array_remove_at | ( | struct apr_array_header_t * | a, |
| int | idx | ||
| ) |
| int md_array_str_add_missing | ( | apr_array_header_t * | dest, |
| apr_array_header_t * | src, | ||
| int | case_sensitive | ||
| ) |
| apr_array_header_t * md_array_str_clone | ( | apr_pool_t * | p, |
| apr_array_header_t * | src | ||
| ) |
| struct apr_array_header_t * md_array_str_compact | ( | apr_pool_t * | p, |
| struct apr_array_header_t * | src, | ||
| int | case_sensitive | ||
| ) |
| int md_array_str_eq | ( | const struct apr_array_header_t * | a1, |
| const struct apr_array_header_t * | a2, | ||
| int | case_sensitive | ||
| ) |
| apr_array_header_t * md_array_str_remove | ( | apr_pool_t * | p, |
| struct apr_array_header_t * | src, | ||
| const char * | exclude, | ||
| int | case_sensitive | ||
| ) |
| apr_status_t md_data_assign_copy | ( | md_data_t * | dest, |
| const char * | src, | ||
| apr_size_t | src_len | ||
| ) |
| void md_data_assign_pcopy | ( | md_data_t * | dest, |
| const char * | src, | ||
| apr_size_t | src_len, | ||
| apr_pool_t * | p | ||
| ) |
| void md_data_clear | ( | md_data_t * | d | ) |
| void md_data_init | ( | md_data_t * | d, |
| const char * | data, | ||
| apr_size_t | len | ||
| ) |
| md_data_t * md_data_make_pcopy | ( | apr_pool_t * | p, |
| const char * | data, | ||
| apr_size_t | len | ||
| ) |
| void md_data_null | ( | md_data_t * | d | ) |
| void md_data_pinit | ( | md_data_t * | d, |
| apr_size_t | len, | ||
| apr_pool_t * | p | ||
| ) |
| md_data_t * md_data_pmake | ( | apr_size_t | len, |
| apr_pool_t * | p | ||
| ) |
| apr_status_t md_data_to_hex | ( | const char ** | phex, |
| char | separator, | ||
| apr_pool_t * | p, | ||
| const md_data_t * | data | ||
| ) |
| int md_dns_domains_match | ( | const apr_array_header_t * | domains, |
| const char * | name | ||
| ) |
| int md_dns_is_name | ( | apr_pool_t * | p, |
| const char * | domain, | ||
| int | need_fqdn | ||
| ) |
| int md_dns_is_wildcard | ( | apr_pool_t * | p, |
| const char * | domain | ||
| ) |
| apr_array_header_t * md_dns_make_minimal | ( | apr_pool_t * | p, |
| struct apr_array_header_t * | domains | ||
| ) |
| int md_is_wild_match | ( | const apr_array_header_t * | domains, |
| const char * | name | ||
| ) |
| const char * md_link_find_relation | ( | const apr_table_t * | headers, |
| apr_pool_t * | pool, | ||
| const char * | relation | ||
| ) |
| apr_status_t md_text_fcreatex | ( | const char * | fpath, |
| apr_fileperms_t | perms, | ||
| apr_pool_t * | p, | ||
| const char * | text | ||
| ) |
| apr_status_t md_text_fread8k | ( | const char ** | ptext, |
| apr_pool_t * | p, | ||
| const char * | fpath | ||
| ) |
| apr_status_t md_text_freplace | ( | const char * | fpath, |
| apr_fileperms_t | perms, | ||
| apr_pool_t * | p, | ||
| const char * | text | ||
| ) |
| apr_status_t md_util_abs_http_uri_check | ( | apr_pool_t * | p, |
| const char * | uri, | ||
| const char ** | perr | ||
| ) |
| apr_status_t md_util_abs_uri_check | ( | apr_pool_t * | p, |
| const char * | uri, | ||
| const char ** | perr | ||
| ) |
| apr_size_t md_util_base64url_decode | ( | md_data_t * | decoded, |
| const char * | encoded, | ||
| apr_pool_t * | pool | ||
| ) |
| const char * md_util_base64url_encode | ( | const md_data_t * | data, |
| apr_pool_t * | pool | ||
| ) |
| apr_status_t md_util_exec | ( | apr_pool_t * | p, |
| const char * | cmd, | ||
| const char *const * | argv, | ||
| int * | exit_code | ||
| ) |
| apr_status_t md_util_fcreatex | ( | apr_file_t ** | pf, |
| const char * | fn, | ||
| apr_fileperms_t | perms, | ||
| apr_pool_t * | p | ||
| ) |
< Open the file for writing
< Create the file if not there
< Open should fail if APR_FOPEN_CREATE and file exists.
| apr_status_t md_util_files_do | ( | md_util_fdo_cb * | cb, |
| void * | baton, | ||
| apr_pool_t * | p, | ||
| const char * | path, | ||
| ... | |||
| ) |
| apr_status_t md_util_freplace | ( | const char * | fpath, |
| apr_fileperms_t | perms, | ||
| apr_pool_t * | p, | ||
| md_util_file_cb * | write_cb, | ||
| void * | baton | ||
| ) |
| apr_status_t md_util_ftree_remove | ( | const char * | path, |
| apr_pool_t * | p | ||
| ) |
| apr_status_t md_util_is_dir | ( | const char * | path, |
| apr_pool_t * | pool | ||
| ) |
| apr_status_t md_util_is_file | ( | const char * | path, |
| apr_pool_t * | pool | ||
| ) |
| apr_status_t md_util_is_unix_socket | ( | const char * | path, |
| apr_pool_t * | pool | ||
| ) |
| const char * md_util_parse_ct | ( | apr_pool_t * | pool, |
| const char * | cth | ||
| ) |
| apr_status_t md_util_path_merge | ( | const char ** | ppath, |
| apr_pool_t * | p, | ||
| ... | |||
| ) |
| apr_status_t md_util_pool_do | ( | md_util_action * | cb, |
| void * | baton, | ||
| apr_pool_t * | p | ||
| ) |
| apr_status_t md_util_pool_vdo | ( | md_util_vaction * | cb, |
| void * | baton, | ||
| apr_pool_t * | p, | ||
| ... | |||
| ) |
| apr_status_t md_util_rm_recursive | ( | const char * | fpath, |
| apr_pool_t * | p, | ||
| int | max_level | ||
| ) |
| apr_status_t md_util_tree_do | ( | md_util_fdo_cb * | cb, |
| void * | baton, | ||
| apr_pool_t * | p, | ||
| const char * | path, | ||
| int | follow_links | ||
| ) |
| apr_status_t md_util_try | ( | md_util_try_fn * | fn, |
| void * | baton, | ||
| int | ignore_errs, | ||
| apr_interval_time_t | timeout, | ||
| apr_interval_time_t | start_delay, | ||
| apr_interval_time_t | max_delay, | ||
| int | backoff | ||
| ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |