Searched defs:cfg (Results 1 - 25 of 28) sorted by relevance

12

/httpd/modules/generators/
H A Dmod_suexec.c35 suexec_config_t *cfg = apr_palloc(p, sizeof(suexec_config_t)); local
37 cfg->active = 0;
38 return cfg;
61 suexec_config_t *cfg = (suexec_config_t *) mconfig; local
74 cfg->ugid.uid = ap_uname2id(uid);
75 cfg->ugid.gid = ap_gname2id(gid);
76 cfg->ugid.userdir = 0;
77 cfg->active = 1;
84 suexec_config_t *cfg = local
87 return cfg
[all...]
/httpd/modules/http/
H A Dhttp_etag.c69 core_dir_config *cfg; local
73 cfg = (core_dir_config *)ap_get_core_module_config(r->per_dir_config);
74 etag_bits = (cfg->etag_bits & (~ cfg->etag_remove)) | cfg->etag_add;
/httpd/modules/filters/
H A Dmod_reflector.c200 reflector_cfg *cfg = (reflector_cfg *) dummy; local
202 apr_table_addn(cfg->headers, in, out ? out : in);
H A Dmod_sed.c272 sed_config *cfg = ap_get_module_config(f->r->per_dir_config, local
275 sed_expr_config *sed_cfg = &cfg->output;
378 sed_config *cfg = ap_get_module_config(f->r->per_dir_config, local
383 sed_expr_config *sed_cfg = &cfg->input;
478 static const char *sed_add_expr(cmd_parms *cmd, void *cfg, const char *arg) argument
482 (sed_expr_config *) (((char *) cfg) + offset);
493 sed_config *cfg = apr_pcalloc(p, sizeof(sed_config)); local
494 return cfg;
H A Dmod_xml2enc.c129 xml2cfg* cfg = ap_get_module_config(r->per_dir_config, &xml2enc_module); local
130 if ((cfg->skipto != NULL) && (ctx->flags | ENC_SKIPTO)) {
133 tattr* starts = (tattr*) cfg->skipto->elts;
136 for (i = 0; i < cfg->skipto->nelts; ++i) {
166 xml2cfg* cfg = NULL; /* initialise to shut compiler warnings up */ local
245 cfg = ap_get_module_config(r->per_dir_config, &xml2enc_module);
247 ctx->encoding = cfg->default_charset?cfg->default_charset:"ISO-8859-1";
267 ctx->xml2enc = (cfg->default_encoding == XML_CHAR_ENCODING_NONE)
268 ? XML_CHAR_ENCODING_8859_1 : cfg
289 xml2cfg* cfg = ap_get_module_config(f->r->per_dir_config, local
567 xml2cfg* cfg = CFG; local
582 xml2cfg* cfg = CFG; local
[all...]
H A Dmod_filter.c338 mod_filter_cfg *cfg = CFG; local
340 ap_filter_rec_t *filter = apr_hash_get(cfg->live_filters, fname,
405 mod_filter_cfg *cfg = (mod_filter_cfg *)CFG; local
409 apr_hash_set(cfg->live_filters, fname, APR_HASH_KEY_STRING, filter);
439 mod_filter_cfg *cfg = CFG; local
448 frec = apr_hash_get(cfg->live_filters, fname, APR_HASH_KEY_STRING);
456 frec = apr_hash_get(cfg->live_filters, fname, APR_HASH_KEY_STRING);
500 mod_filter_cfg *cfg = CFG; local
506 if (cfg->chain) {
507 for (q = cfg
577 mod_filter_cfg *cfg = CFG; local
624 mod_filter_cfg *cfg = CFG; local
639 mod_filter_cfg *cfg = ap_get_module_config(r->per_dir_config, local
684 mod_filter_cfg *cfg = apr_palloc(pool, sizeof(mod_filter_cfg)); local
[all...]
H A Dmod_reqtimeout.c351 reqtimeout_srv_cfg *cfg; local
353 cfg = ap_get_module_config(c->base_server->module_config,
355 AP_DEBUG_ASSERT(cfg != NULL);
356 if (cfg->header_timeout == 0 && cfg->body_timeout == 0) {
373 if (cfg->header_timeout != UNSET) {
374 ccfg->new_timeout = cfg->header_timeout;
375 ccfg->new_max_timeout = cfg->header_max_timeout;
376 ccfg->min_rate = cfg->header_min_rate;
377 ccfg->rate_factor = cfg
392 reqtimeout_srv_cfg *cfg; local
424 reqtimeout_srv_cfg *cfg; local
459 reqtimeout_srv_cfg *cfg = apr_pcalloc(p, sizeof(reqtimeout_srv_cfg)); local
476 reqtimeout_srv_cfg *cfg = apr_pcalloc(p, sizeof(reqtimeout_srv_cfg)); local
[all...]
H A Dmod_substitute.c120 subst_dir_conf *cfg = local
128 script = (subst_pattern_t *) cfg->patterns->elts;
133 if (cfg->patterns->nelts == 1) {
136 for (i = 0; i < cfg->patterns->nelts; i++) {
157 apr_size_t space_left = cfg->max_line_length;
173 if (vb.strlen + len + repl_len > cfg->max_line_length)
240 apr_size_t space_left = cfg->max_line_length;
250 if (vb.strlen + regm[0].rm_so >= cfg->max_line_length)
258 cfg->max_line_length - vb.strlen);
327 subst_dir_conf *cfg local
558 set_pattern(cmd_parms *cmd, void *cfg, const char *line) argument
652 set_max_line_length(cmd_parms *cmd, void *cfg, const char *arg) argument
[all...]
H A Dmod_proxy_html.c103 proxy_html_conf *cfg; member in struct:__anon169
182 ctx->avail += ctx->cfg->bufsz;
292 if (ctx->cfg->doctype != DEFAULT_DOCTYPE) {
315 if (ctx->cfg->extfix) {
329 if (ctx->cfg->strip_comments)
332 if (ctx->cfg->extfix) {
350 if ((ctx->cfg->doctype == fpi_html) || (ctx->cfg->doctype == fpi_xhtml)) {
356 else if ((ctx->cfg->doctype == fpi_html_legacy)
357 || (ctx->cfg
832 proxy_html_conf *cfg; local
1124 proxy_html_conf *cfg = (proxy_html_conf *)CFG; local
1161 proxy_html_conf *cfg = (proxy_html_conf *)CFG; local
1195 proxy_html_conf *cfg = CFG; local
1210 proxy_html_conf *cfg = CFG; local
1223 proxy_html_conf *cfg = CFG; local
1301 proxy_html_conf *cfg; local
[all...]
/httpd/modules/aaa/
H A Dmod_authn_dbd.c66 static const char *authn_dbd_prepare(cmd_parms *cmd, void *cfg, const char *query) argument
86 return ap_set_string_slot(cmd, cfg, label);
H A Dmod_authz_dbd.c76 static const char *authz_dbd_prepare(cmd_parms *cmd, void *cfg, argument
97 return ap_set_string_slot(cmd, cfg, label);
112 static int authz_dbd_login(request_rec *r, authz_dbd_cfg *cfg, argument
124 if (cfg->query == NULL) {
129 query = apr_hash_get(dbd->prepared, cfg->query, APR_HASH_KEY_STRING);
153 if (cfg->redirect == 1) {
157 if (!newuri && cfg->redir_query) {
158 query = apr_hash_get(dbd->prepared, cfg->redir_query,
197 static int authz_dbd_group_query(request_rec *r, authz_dbd_cfg *cfg, argument
209 if (cfg
262 authz_dbd_cfg *cfg = ap_get_module_config(r->per_dir_config, local
302 authz_dbd_cfg *cfg = ap_get_module_config(r->per_dir_config, local
316 authz_dbd_cfg *cfg = ap_get_module_config(r->per_dir_config, local
[all...]
H A Dmod_authn_socache.c226 authn_cache_dircfg *cfg = CFG; local
227 if (cfg->providers == NULL) {
228 cfg->providers = apr_array_make(cmd->pool, 4, sizeof(const char*));
230 APR_ARRAY_PUSH(cfg->providers, const char*) = arg;
238 authn_cache_dircfg *cfg = CFG; local
240 cfg->timeout = apr_time_from_sec(secs);
/httpd/modules/cluster/
H A Dmod_heartbeat.c161 hb_ctx_t *cfg = (hb_ctx_t *) apr_pcalloc(p, sizeof(hb_ctx_t)); local
163 return cfg;
/httpd/modules/experimental/
H A Dmod_noloris.c196 static const char *noloris_trusted(cmd_parms *cmd, void *cfg, const char *val) argument
204 static const char *noloris_recheck(cmd_parms *cmd, void *cfg, const char *val) argument
212 static const char *noloris_max_conn(cmd_parms *cmd, void *cfg, const char *val) argument
/httpd/modules/loggers/
H A Dmod_log_forensic.c51 fcfg *cfg = apr_pcalloc(p, sizeof *cfg); local
53 cfg->logname = NULL;
54 cfg->fd = NULL;
56 return cfg;
61 fcfg *cfg = apr_pcalloc(p, sizeof *cfg); local
65 cfg->logname = apr_pstrdup(p, nc->logname ? nc->logname : pc->logname);
66 cfg->fd = NULL;
68 return cfg;
73 fcfg *cfg = ap_get_module_config(s->module_config, &log_forensic_module); local
184 fcfg *cfg = ap_get_module_config(r->server->module_config, local
233 fcfg *cfg = ap_get_module_config(r->server->module_config, local
255 fcfg *cfg = ap_get_module_config(cmd->server->module_config, local
[all...]
/httpd/modules/lua/
H A Dlua_config.c25 ap_lua_dir_cfg *cfg; local
27 cfg = (ap_lua_dir_cfg *) lua_unboxpointer(L, index);
28 return cfg;
54 apr_status_t ap_lua_map_handler(ap_lua_dir_cfg *cfg, argument
63 apr_pcalloc(cfg->pool, sizeof(ap_lua_mapped_handler_spec));
67 uri_pattern = apr_palloc(cfg->pool, sizeof(ap_regex_t));
71 handler->file_name = apr_pstrdup(cfg->pool, file);
75 handler->function_name = apr_pstrdup(cfg->pool, function);
76 *(const ap_lua_mapped_handler_spec **) apr_array_push(cfg->mapped_handlers) =
84 ap_lua_dir_cfg *cfg local
139 ap_lua_dir_cfg *cfg = check_dir_config(L, 1); local
[all...]
H A Dmod_lua.c173 const ap_lua_dir_cfg *cfg,
184 spec->scope = cfg->vm_scope;
186 spec->package_paths = cfg->package_paths;
187 spec->package_cpaths = cfg->package_cpaths;
192 spec->codecache = (cfg->codecache == AP_LUA_CACHE_UNSET) ? AP_LUA_CACHE_STAT : cfg->codecache;
193 spec->vm_min = cfg->vm_min ? cfg->vm_min : 1;
194 spec->vm_max = cfg->vm_max ? cfg
171 create_vm_spec(apr_pool_t **lifecycle_pool, request_rec *r, const ap_lua_dir_cfg *cfg, const ap_lua_server_cfg *server_cfg, const char *filename, const char *bytecode, apr_size_t bytecode_len, const char *function, const char *what) argument
296 const ap_lua_dir_cfg *cfg = ap_get_module_config(r->per_dir_config, local
343 const ap_lua_dir_cfg *cfg = ap_get_module_config(r->per_dir_config, local
665 const ap_lua_dir_cfg *cfg = ap_get_module_config(r->per_dir_config, local
751 const ap_lua_dir_cfg *cfg = ap_get_module_config(r->per_dir_config, local
781 const ap_lua_dir_cfg *cfg = ap_get_module_config(r->per_dir_config, local
864 config_getstr(ap_configfile_t *cfg, char *buf, size_t bufsiz) argument
973 ap_lua_dir_cfg *cfg = (ap_lua_dir_cfg *) _cfg; local
1117 ap_lua_dir_cfg *cfg = (ap_lua_dir_cfg *) _cfg; local
1143 ap_lua_dir_cfg *cfg = (ap_lua_dir_cfg *) _cfg; local
1166 ap_lua_dir_cfg *cfg = (ap_lua_dir_cfg *) _cfg; local
1545 ap_lua_dir_cfg *cfg = (ap_lua_dir_cfg *) _cfg; local
1558 ap_lua_dir_cfg *cfg = (ap_lua_dir_cfg *) _cfg; local
1567 ap_lua_dir_cfg *cfg = (ap_lua_dir_cfg *) _cfg; local
1590 ap_lua_dir_cfg *cfg = (ap_lua_dir_cfg *) _cfg; local
1615 ap_lua_dir_cfg *cfg = (ap_lua_dir_cfg *) _cfg; local
1675 ap_lua_server_cfg *cfg = ap_get_module_config(cmd->server->module_config, local
1733 const ap_lua_dir_cfg *cfg = ap_get_module_config(r->per_dir_config, local
1943 ap_lua_dir_cfg *cfg = apr_pcalloc(p, sizeof(ap_lua_dir_cfg)); local
1963 ap_lua_request_cfg *cfg = apr_palloc(r->pool, sizeof(ap_lua_request_cfg)); local
1973 ap_lua_server_cfg *cfg = apr_pcalloc(p, sizeof(ap_lua_server_cfg)); local
[all...]
/httpd/modules/mappers/
H A Dmod_speling.c75 spconfig *cfg = apr_pcalloc(p, sizeof(spconfig)); local
77 cfg->enabled = 0;
78 cfg->check_case_only = 0;
79 cfg->check_basename_match = 0;
80 return cfg;
199 spconfig *cfg; local
206 cfg = ap_get_module_config(r->per_dir_config, &speling_module);
207 if (!cfg->enabled) {
308 else if ((cfg->check_case_only == 0)
329 else if ((cfg
[all...]
H A Dmod_userdir.c117 userdir_config *cfg = apr_pcalloc(p, sizeof(userdir_config)); local
120 cfg->globally_disabled = (overrides->globally_disabled != O_DEFAULT) ?
123 cfg->userdir = (overrides->userdir != DEFAULT_USER_DIR) ?
127 cfg->enabled_users = overrides->enabled_users;
128 cfg->disabled_users = overrides->disabled_users;
130 return cfg;
/httpd/modules/metadata/
H A Dmod_remoteip.c124 static const char *proxies_set(cmd_parms *cmd, void *cfg, argument
181 static const char *proxylist_read(cmd_parms *cmd, void *cfg, argument
204 errmsg = proxies_set(cmd, cfg, arg);
/httpd/modules/test/
H A Dmod_dialup.c291 dialup_dcfg_t *cfg = apr_palloc(p, sizeof(dialup_dcfg_t)); local
293 cfg->bytes_per_second = 0;
295 return cfg;
/httpd/modules/arch/unix/
H A Dmod_privileges.c65 priv_cfg *cfg = CFG; local
66 priv_freeset(cfg->priv);
67 priv_freeset(cfg->child_priv);
81 priv_cfg *cfg = apr_palloc(pool, sizeof(priv_cfg)); local
84 cfg->priv = priv_str_to_set("basic", ",", NULL);
85 cfg->child_priv = priv_str_to_set("basic", ",", NULL);
90 CR_CHECK(priv_delset(cfg->priv, PRIV_FILE_LINK_ANY));
91 CR_CHECK(priv_delset(cfg->priv, PRIV_PROC_INFO));
92 CR_CHECK(priv_delset(cfg->priv, PRIV_PROC_SESSION));
96 CR_CHECK(priv_delset(cfg
118 priv_dir_cfg *cfg = apr_palloc(pool, sizeof(priv_dir_cfg)); local
134 priv_cfg *cfg = ap_get_module_config(r->server->module_config, local
181 priv_cfg *cfg = ap_get_module_config(r->server->module_config, local
341 priv_cfg *cfg = ap_get_module_config(s->module_config, &privileges_module); local
358 priv_cfg *cfg; local
421 priv_cfg *cfg = ap_get_module_config(cmd->server->module_config, local
432 priv_cfg *cfg = ap_get_module_config(cmd->server->module_config, local
443 priv_cfg *cfg = ap_get_module_config(cmd->server->module_config, local
455 priv_cfg *cfg = ap_get_module_config(cmd->server->module_config, local
504 priv_dir_cfg *cfg = dir; local
512 priv_cfg *cfg = ap_get_module_config(cmd->server->module_config, local
525 priv_cfg *cfg = ap_get_module_config(cmd->server->module_config, local
543 priv_cfg *cfg = ap_get_module_config(cmd->server->module_config, local
[all...]
/httpd/modules/database/
H A Dmod_dbd.c43 (apr_pool_t *pool, dbd_cfg_t *cfg,
45 (pool, cfg, dbd), OK, DECLINED)
47 /************ svr cfg: manage db connection pool ****************/
57 dbd_cfg_t *cfg; member in struct:dbd_group_t
70 dbd_cfg_t *cfg; member in struct:__anon97
97 dbd_cfg_t *cfg = svr->cfg = apr_pcalloc(pool, sizeof(dbd_cfg_t)); local
99 cfg->server = s;
100 cfg->name = no_dbdriver; /* to generate meaningful error messages */
101 cfg
167 dbd_cfg_t *cfg = svr->cfg; local
208 dbd_cfg_t *cfg = svr->cfg; local
350 dbd_cfg_t *cfg = svr->cfg; local
434 dbd_prepared_init(apr_pool_t *pool, dbd_cfg_t *cfg, ap_dbd_t *rec) argument
465 dbd_init_sql_init(apr_pool_t *pool, dbd_cfg_t *cfg, ap_dbd_t *rec) argument
516 dbd_cfg_t *cfg = group->cfg; local
623 dbd_cfg_t *cfg = group->cfg; local
794 dbd_cfg_t *cfg = svr->cfg; local
[all...]
/httpd/modules/examples/
H A Dmod_example_hooks.c396 x_cfg *cfg; local
406 cfg = our_dconfig(r);
408 where = (cfg != NULL) ? cfg->loc : "nowhere";
443 x_cfg *cfg; local
449 cfg = our_cconfig(c);
451 where = (cfg != NULL) ? cfg->loc : "nowhere";
523 x_cfg *cfg = (x_cfg *) mconfig; local
528 cfg
547 x_cfg *cfg; local
637 x_cfg *cfg; local
[all...]
/httpd/modules/core/
H A Dmod_macro.c115 ap_configfile_t * cfg)
124 what, cfg->line_number, cfg->name, ptr);
664 ap_configfile_t * cfg,
676 ls->next = cfg;
113 warn_if_non_blank(const char * what, char * ptr, ap_configfile_t * cfg) argument
661 make_array_config(apr_pool_t * pool, apr_array_header_t * contents, const char *where, ap_configfile_t * cfg, ap_configfile_t ** upper) argument

Completed in 54 milliseconds

12