Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
http_config.h File Reference

Apache Configuration. More...

#include "util_cfgtree.h"
#include "ap_config.h"
#include "apr_tables.h"
Include dependency graph for http_config.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

union  cmd_func
 
struct  command_struct
 
struct  ap_configfile_t
 
struct  cmd_parms_struct
 
struct  module_struct
 
struct  ap_module_symbol_t
 This structure is used to assign symbol names to module pointers. More...
 

Macros

#define AP_NO_ARGS   func.no_args
 
#define AP_RAW_ARGS   func.raw_args
 
#define AP_TAKE_ARGV   func.take_argv
 
#define AP_TAKE1   func.take1
 
#define AP_TAKE2   func.take2
 
#define AP_TAKE3   func.take3
 
#define AP_FLAG   func.flag
 
#define AP_INIT_NO_ARGS(directive, func, mconfig, where, help)   { directive, { .no_args=func }, mconfig, where, NO_ARGS, help }
 
#define AP_INIT_RAW_ARGS(directive, func, mconfig, where, help)   { directive, { .raw_args=func }, mconfig, where, RAW_ARGS, help }
 
#define AP_INIT_TAKE_ARGV(directive, func, mconfig, where, help)   { directive, { .take_argv=func }, mconfig, where, TAKE_ARGV, help }
 
#define AP_INIT_TAKE1(directive, func, mconfig, where, help)   { directive, { .take1=func }, mconfig, where, TAKE1, help }
 
#define AP_INIT_ITERATE(directive, func, mconfig, where, help)   { directive, { .take1=func }, mconfig, where, ITERATE, help }
 
#define AP_INIT_TAKE2(directive, func, mconfig, where, help)   { directive, { .take2=func }, mconfig, where, TAKE2, help }
 
#define AP_INIT_TAKE12(directive, func, mconfig, where, help)   { directive, { .take2=func }, mconfig, where, TAKE12, help }
 
#define AP_INIT_ITERATE2(directive, func, mconfig, where, help)   { directive, { .take2=func }, mconfig, where, ITERATE2, help }
 
#define AP_INIT_TAKE13(directive, func, mconfig, where, help)   { directive, { .take3=func }, mconfig, where, TAKE13, help }
 
#define AP_INIT_TAKE23(directive, func, mconfig, where, help)   { directive, { .take3=func }, mconfig, where, TAKE23, help }
 
#define AP_INIT_TAKE123(directive, func, mconfig, where, help)   { directive, { .take3=func }, mconfig, where, TAKE123, help }
 
#define AP_INIT_TAKE3(directive, func, mconfig, where, help)   { directive, { .take3=func }, mconfig, where, TAKE3, help }
 
#define AP_INIT_FLAG(directive, func, mconfig, where, help)   { directive, { .flag=func }, mconfig, where, FLAG, help }
 
#define OR_NONE   0
 
#define OR_LIMIT   1
 
#define OR_OPTIONS   2
 
#define OR_FILEINFO   4
 
#define OR_AUTHCFG   8
 
#define OR_INDEXES   16
 
#define OR_UNSET   32
 
#define ACCESS_CONF   64
 
#define RSRC_CONF   128
 
#define EXEC_ON_READ   256
 
#define NONFATAL_OVERRIDE   512 /* Violation of AllowOverride rule */
 
#define NONFATAL_UNKNOWN   1024 /* Unrecognised directive */
 
#define NONFATAL_ALL   (NONFATAL_OVERRIDE|NONFATAL_UNKNOWN)
 
#define PROXY_CONF   2048
 
#define OR_ALL   (OR_LIMIT|OR_OPTIONS|OR_FILEINFO|OR_AUTHCFG|OR_INDEXES)
 
#define DECLINE_CMD   "\a\b"
 
#define AP_MODULE_FLAG_NONE   (0)
 
#define AP_MODULE_FLAG_ALWAYS_MERGE   (1 << 0)
 
#define AP_MAYBE_UNUSED(x)   x
 
#define APLOG_USE_MODULE(foo)
 
#define AP_DECLARE_MODULE(foo)
 
#define STANDARD_MODULE_STUFF   this_module_needs_to_be_ported_to_apache_2_0
 
#define STANDARD20_MODULE_STUFF
 
#define MPM20_MODULE_STUFF
 
#define AP_MODULE_FLAGS_MMN_MAJOR   20161018
 
#define AP_MODULE_FLAGS_MMN_MINOR   7
 
#define AP_MODULE_HAS_FLAGS(m)
 
#define ap_get_module_config(v, m)   (((void **)(v))[(m)->module_index])
 
#define ap_set_module_config(v, m, val)   ((((void **)(v))[(m)->module_index]) = (val))
 
#define ap_get_conn_logconf(c)
 
#define ap_get_conn_server_logconf(c, s)
 
#define ap_get_request_logconf(r)
 
#define ap_get_module_loglevel(l, i)
 
#define ap_get_server_module_loglevel(s, i)   (ap_get_module_loglevel(&(s)->log,i))
 
#define ap_get_conn_module_loglevel(c, i)   (ap_get_module_loglevel(ap_get_conn_logconf(c),i))
 
#define ap_get_conn_server_module_loglevel(c, s, i)   (ap_get_module_loglevel(ap_get_conn_server_logconf(c,s),i))
 
#define ap_get_request_module_loglevel(r, i)   (ap_get_module_loglevel(ap_get_request_logconf(r),i))
 
#define NOT_IN_VIRTUALHOST   0x01
 
#define NOT_IN_LIMIT   0x02
 
#define NOT_IN_DIRECTORY   0x04
 
#define NOT_IN_LOCATION   0x08
 
#define NOT_IN_FILES   0x10
 
#define NOT_IN_HTACCESS   0x20
 
#define NOT_IN_PROXY   0x40
 
#define NOT_IN_DIR_LOC_FILE   (NOT_IN_DIRECTORY|NOT_IN_LOCATION|NOT_IN_FILES)
 
#define NOT_IN_DIR_CONTEXT   (NOT_IN_LIMIT|NOT_IN_DIR_LOC_FILE|NOT_IN_PROXY)
 
#define GLOBAL_ONLY   (NOT_IN_VIRTUALHOST|NOT_IN_DIR_CONTEXT)
 

Typedefs

typedef struct cmd_parms_struct cmd_parms
 
typedef struct command_struct command_rec
 
typedef struct ap_configfile_t ap_configfile_t
 
typedef struct module_struct module
 
typedef struct ap_conf_vector_t ap_conf_vector_t
 

Enumerations

enum  cmd_how {
  RAW_ARGS, TAKE1, TAKE2, ITERATE,
  ITERATE2, FLAG, NO_ARGS, TAKE12,
  TAKE3, TAKE23, TAKE123, TAKE13,
  TAKE_ARGV
}
 

Functions

voidap_get_module_config (const ap_conf_vector_t *cv, const module *m)
 
void ap_set_module_config (ap_conf_vector_t *cv, const module *m, void *val)
 
int ap_get_module_flags (const module *m)
 
int ap_get_server_module_loglevel (const server_rec *s, int index)
 
int ap_get_conn_module_loglevel (const conn_rec *c, int index)
 
int ap_get_conn_server_module_loglevel (const conn_rec *c, const server_rec *s, int index)
 
int ap_get_request_module_loglevel (const request_rec *r, int index)
 
void ap_set_module_loglevel (apr_pool_t *p, struct ap_logconf *l, int index, int level)
 
void ap_reset_module_loglevels (struct ap_logconf *l, int val)
 
const char * ap_set_string_slot (cmd_parms *cmd, void *struct_ptr, const char *arg)
 
const char * ap_set_int_slot (cmd_parms *cmd, void *struct_ptr, const char *arg)
 
const char * ap_parse_log_level (const char *str, int *val)
 
int ap_method_is_limited (cmd_parms *cmd, const char *method)
 
const char * ap_set_string_slot_lower (cmd_parms *cmd, void *struct_ptr, const char *arg)
 
const char * ap_set_flag_slot (cmd_parms *cmd, void *struct_ptr, int arg)
 
const char * ap_set_flag_slot_char (cmd_parms *cmd, void *struct_ptr, int arg)
 
const char * ap_set_file_slot (cmd_parms *cmd, void *struct_ptr, const char *arg)
 
const char * ap_set_deprecated (cmd_parms *cmd, void *struct_ptr, const char *arg)
 
char * ap_server_root_relative (apr_pool_t *p, const char *fname)
 
char * ap_runtime_dir_relative (apr_pool_t *p, const char *fname)
 
const char * ap_add_module (module *m, apr_pool_t *p, const char *s)
 
void ap_remove_module (module *m)
 
const char * ap_add_loaded_module (module *mod, apr_pool_t *p, const char *s)
 
void ap_remove_loaded_module (module *mod)
 
const char * ap_find_module_name (module *m)
 
const char * ap_find_module_short_name (int module_index)
 
moduleap_find_linked_module (const char *name)
 
apr_status_t ap_pcfg_openfile (ap_configfile_t **ret_cfg, apr_pool_t *p, const char *name)
 
ap_configfile_tap_pcfg_open_custom (apr_pool_t *p, const char *descr, void *param, apr_status_t(*getc_func)(char *ch, void *param), apr_status_t(*gets_func)(void *buf, apr_size_t bufsiz, void *param), apr_status_t(*close_func)(void *param))
 
apr_status_t ap_cfg_getline (char *buf, apr_size_t bufsize, ap_configfile_t *cfp)
 
apr_status_t ap_cfg_getc (char *ch, ap_configfile_t *cfp)
 
int ap_cfg_closefile (ap_configfile_t *cfp)
 
const char * ap_pcfg_strerror (apr_pool_t *p, ap_configfile_t *cfp, apr_status_t rc)
 
const char * ap_soak_end_container (cmd_parms *cmd, const char *directive)
 
const char * ap_build_cont_config (apr_pool_t *p, apr_pool_t *temp_pool, cmd_parms *parms, ap_directive_t **current, ap_directive_t **curr_parent, const char *orig_directive)
 
const char * ap_build_config (cmd_parms *parms, apr_pool_t *conf_pool, apr_pool_t *temp_pool, ap_directive_t **conftree)
 
const char * ap_walk_config (ap_directive_t *conftree, cmd_parms *parms, ap_conf_vector_t *section_vector)
 
const char * ap_check_cmd_context (cmd_parms *cmd, unsigned forbidden)
 
void ap_single_module_configure (apr_pool_t *p, server_rec *s, module *m)
 
const char * ap_setup_prelinked_modules (process_rec *process)
 
void ap_show_directives (void)
 
int ap_exists_directive (apr_pool_t *p, const char *name)
 
void ap_show_modules (void)
 
const char * ap_show_mpm (void)
 
server_recap_read_config (process_rec *process, apr_pool_t *temp_pool, const char *config_name, ap_directive_t **conftree)
 
void ap_run_rewrite_args (process_rec *process)
 
void ap_register_hooks (module *m, apr_pool_t *p)
 
void ap_fixup_virtual_hosts (apr_pool_t *p, server_rec *main_server)
 
void ap_reserve_module_slots (int count)
 
void ap_reserve_module_slots_directive (const char *directive)
 
ap_conf_vector_tap_create_request_config (apr_pool_t *p)
 
ap_conf_vector_tap_create_per_dir_config (apr_pool_t *p)
 
ap_conf_vector_tap_merge_per_dir_configs (apr_pool_t *p, ap_conf_vector_t *base, ap_conf_vector_t *new_conf)
 
struct ap_logconfap_new_log_config (apr_pool_t *p, const struct ap_logconf *old)
 
void ap_merge_log_config (const struct ap_logconf *old_conf, struct ap_logconf *new_conf)
 
ap_conf_vector_tap_create_conn_config (apr_pool_t *p)
 
int ap_parse_htaccess (ap_conf_vector_t **result, request_rec *r, int override, int override_opts, apr_table_t *override_list, const char *path, const char *access_name)
 
const char * ap_init_virtual_host (apr_pool_t *p, const char *hostname, server_rec *main_server, server_rec **ps)
 
const char * ap_process_resource_config (server_rec *s, const char *fname, ap_directive_t **conftree, apr_pool_t *p, apr_pool_t *ptemp)
 
const char * ap_process_fnmatch_configs (server_rec *s, const char *fname, ap_directive_t **conftree, apr_pool_t *p, apr_pool_t *ptemp, int optional)
 
int ap_process_config_tree (server_rec *s, ap_directive_t *conftree, apr_pool_t *p, apr_pool_t *ptemp)
 
voidap_retained_data_create (const char *key, apr_size_t size)
 
voidap_retained_data_get (const char *key)
 
int ap_invoke_handler (request_rec *r)
 
const command_recap_find_command (const char *name, const command_rec *cmds)
 
const command_recap_find_command_in_modules (const char *cmd_name, module **mod)
 
voidap_set_config_vectors (server_rec *server, ap_conf_vector_t *section_vector, const char *section, module *mod, apr_pool_t *pconf)
 
int header_parser (request_rec *r)
 
int pre_config (apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp)
 
int check_config (apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *s)
 
void test_config (apr_pool_t *pconf, server_rec *s)
 
int post_config (apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *s)
 
int open_logs (apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *s)
 
void child_init (apr_pool_t *pchild, server_rec *s)
 
int handler (request_rec *r)
 
int quick_handler (request_rec *r, int lookup_uri)
 
void optional_fn_retrieve (void)
 
apr_status_t open_htaccess (request_rec *r, const char *dir_name, const char *access_name, ap_configfile_t **conffile, const char **full_name)
 
apr_status_t ap_open_htaccess (request_rec *r, const char *dir_name, const char *access_name, ap_configfile_t **conffile, const char **full_name)
 
apr_status_t ap_pool_cleanup_set_null (void *data)
 

Variables

AP_DECLARE_DATA moduleap_top_module
 
AP_DECLARE_DATA moduleap_prelinked_modules []
 
AP_DECLARE_DATA ap_module_symbol_t ap_prelinked_module_symbols []
 
AP_DECLARE_DATA moduleap_preloaded_modules []
 
AP_DECLARE_DATA module ** ap_loaded_modules
 

Detailed Description

Apache Configuration.