/httpd/modules/http/ |
H A D | http_request.c | 403 apr_table_t *new = apr_table_make(p, env_arr->nalloc); local 409 apr_table_setn(new, apr_pstrcat(p, "REDIRECT_", elts[i].key, NULL), 413 return new; 419 request_rec *new; local 426 new = (request_rec *) apr_pcalloc(r->pool, sizeof(request_rec)); 428 new->connection = r->connection; 429 new->server = r->server; 430 new->pool = r->pool; 438 new->method = r->method; 439 new 645 request_rec *new = internal_internal_redirect(new_uri, r); local 671 request_rec *new = internal_internal_redirect(new_uri, r); local [all...] |
H A D | mod_mime.c | 120 mime_dir_config *new = apr_palloc(p, sizeof(mime_dir_config)); local 122 new->extension_mappings = NULL; 123 new->remove_mappings = NULL; 125 new->default_language = NULL; 127 new->multimatch = MULTIMATCH_UNSET; 129 new->use_path_info = 2; 131 return new; 198 mime_dir_config *new = apr_palloc(p, sizeof(mime_dir_config)); local 201 new->extension_mappings = apr_hash_merge(p, add->extension_mappings, 208 new 990 const char **new; local [all...] |
/httpd/modules/metadata/ |
H A D | mod_setenvif.c | 135 sei_cfg_rec *new = (sei_cfg_rec *) apr_palloc(p, sizeof(sei_cfg_rec)); local 137 new->conditionals = apr_array_make(p, 20, sizeof(sei_entry)); 138 return (void *) new; 249 static const char *add_envvars(cmd_parms *cmd, const char *args, sei_entry *new) argument 264 apr_table_setn(new->features, var, feature); 267 apr_table_setn(new->features, var + 1, "!"); 270 apr_table_setn(new->features, var, "1"); 288 sei_entry *new; local 316 new = &entries[i]; 317 if (new 423 sei_entry *new; local [all...] |
H A D | mod_expires.c | 77 * unless explicitly overridden by new directives in the subdirectory 187 expires_dir_config *new = local 189 new->active = ACTIVE_DONTCARE; 190 new->wildcards = 0; 191 new->expiresdefault = NULL; 192 new->expiresbytype = apr_table_make(p, 4); 193 return (void *) new; 362 expires_dir_config *new = (expires_dir_config *) apr_pcalloc(p, sizeof(expires_dir_config)); local 367 new->active = base->active; 370 new [all...] |
H A D | mod_cern_meta.c | 28 * configuration files in order to make use of the new module. 145 cern_meta_dir_config *new = local 148 new->metadir = NULL; 149 new->metasuffix = NULL; 150 new->metafiles = DEFAULT_METAFILES; 152 return new; 159 cern_meta_dir_config *new = local 162 new->metadir = add->metadir ? add->metadir : base->metadir; 163 new->metasuffix = add->metasuffix ? add->metasuffix : base->metasuffix; 164 new [all...] |
H A D | mod_headers.c | 439 header_entry *new; local 447 new = (header_entry *) apr_array_push(fixup); 450 new->action = hdr_set; 452 new->action = hdr_setifempty; 454 new->action = hdr_add; 456 new->action = hdr_append; 458 new->action = hdr_merge; 460 new->action = hdr_unset; 462 new->action = hdr_echo; 464 new [all...] |
/httpd/modules/arch/netware/ |
H A D | mod_netware.c | 48 netware_dir_config *new = (netware_dir_config*) apr_palloc(p, sizeof(netware_dir_config)); local 50 new->file_type_handlers = apr_table_make(p, 10); 51 new->file_handler_mode = apr_table_make(p, 10); 52 new->extra_env_vars = apr_table_make(p, 10); 54 apr_table_setn(new->file_type_handlers, "NLM", "OS"); 56 return new; 63 netware_dir_config *new = (netware_dir_config *) apr_palloc(p, sizeof(netware_dir_config)); local 65 new->file_type_handlers = apr_table_overlay(p, add->file_type_handlers, base->file_type_handlers); 66 new->file_handler_mode = apr_table_overlay(p, add->file_handler_mode, base->file_handler_mode); 67 new [all...] |
H A D | mod_nw_ssl.c | 475 seclisten_rec *new; local 498 new = apr_pcalloc(cmd->server->process->pool, sizeof(seclisten_rec)); 499 new->local_addr.sin_family = AF_INET; 502 new->local_addr.sin_addr.s_addr = htonl(INADDR_ANY); 506 new->local_addr.sin_addr.s_addr = parse_addr(ips, NULL); 521 ap_listen_rec *new; local 531 new = *walk; 532 *walk = new->next; 533 new->next = ap_listeners; 534 ap_listeners = new; 570 seclistenup_rec *new; local 662 ap_listen_rec *new; local 749 ap_listen_rec *new; local 841 NWSSLSrvConfigRec *new = apr_palloc(p, sizeof(NWSSLSrvConfigRec)); local [all...] |
/httpd/modules/test/ |
H A D | mod_policy.c | 856 policy_conf *new = (policy_conf *) apr_pcalloc(p, sizeof(policy_conf)); local 858 new->policy = 1; 859 new->type_action = policy_log; 860 new->length_action = policy_log; 861 new->vary_action = policy_log; 862 new->validation_action = policy_log; 863 new->conditional_action = policy_log; 864 new->nocache_action = policy_log; 865 new->maxage_action = policy_log; 866 new 875 policy_conf *new = (policy_conf *) apr_pcalloc(p, sizeof(policy_conf)); local [all...] |
/httpd/modules/mappers/ |
H A D | mod_actions.c | 64 action_dir_config *new = local 67 new->action_types = apr_table_make(p, 4); 69 return new; 76 action_dir_config *new = (action_dir_config *) apr_palloc(p, local 80 new->action_types = apr_table_overlay(p, add->action_types, 84 new->scripted[i] = add->scripted[i] ? add->scripted[i] 88 new->configured = (base->configured || add->configured); 89 return new; 116 /* In .htaccess, we can't globally register new methods. */
|
H A D | mod_dir.c | 145 dir_config_rec *new = apr_pcalloc(p, sizeof(dir_config_rec)); local 147 new->index_names = NULL; 148 new->do_slash = MODDIR_UNSET; 149 new->checkhandler = MODDIR_UNSET; 150 new->redirect_index = REDIRECT_UNSET; 151 return (void *) new; 156 dir_config_rec *new = apr_pcalloc(p, sizeof(dir_config_rec)); local 160 new->index_names = add->index_names ? add->index_names : base->index_names; 161 new->do_slash = 163 new [all...] |
H A D | mod_alias.c | 128 alias_entry *new = apr_array_push(conf->aliases); local 141 new->regexp = ap_pregcomp(cmd->pool, fake, AP_REG_EXTENDED); 142 if (new->regexp == NULL) 144 new->real = real; 147 /* XXX This may be optimized, but we must know that new->real 148 * exists. If so, we can dir merge later, trusing new->real 152 new->real = real; 154 new->fake = fake; 155 new->handler = cmd->info; 232 alias_entry *new; local [all...] |
/httpd/modules/session/ |
H A D | mod_session_cookie.c | 155 /* create a new session and return it */ 173 session_cookie_dir_conf *new = local 176 return (void *) new; 182 session_cookie_dir_conf *new = (session_cookie_dir_conf *) local 187 new->name = (add->name_set == 0) ? base->name : add->name; 188 new->name_attrs = (add->name_set == 0) ? base->name_attrs : add->name_attrs; 189 new->name_set = add->name_set || base->name_set; 190 new->name2 = (add->name2_set == 0) ? base->name2 : add->name2; 191 new->name2_attrs = (add->name2_set == 0) ? base->name2_attrs : add->name2_attrs; 192 new [all...] |
H A D | mod_session_dbd.c | 229 /* create a new session and return it */ 412 /* if the session is new or changed, make a new session ID */ 492 session_dbd_dir_conf *new = local 495 new->remove = 1; 497 new->selectlabel = "selectsession"; 498 new->insertlabel = "insertsession"; 499 new->updatelabel = "updatesession"; 500 new->deletelabel = "deletesession"; 502 return (void *) new; 507 session_dbd_dir_conf *new = (session_dbd_dir_conf *) apr_pcalloc(p, sizeof(session_dbd_dir_conf)); local [all...] |
H A D | mod_session.c | 452 /* if a header was specified, insert the new values from the header */ 529 session_dir_conf *new = local 532 new->includes = apr_array_make(p, 10, sizeof(const char **)); 533 new->excludes = apr_array_make(p, 10, sizeof(const char **)); 535 return (void *) new; 540 session_dir_conf *new = (session_dir_conf *) apr_pcalloc(p, sizeof(session_dir_conf)); local 544 new->enabled = (add->enabled_set == 0) ? base->enabled : add->enabled; 545 new->enabled_set = add->enabled_set || base->enabled_set; 546 new->maxage = (add->maxage_set == 0) ? base->maxage : add->maxage; 547 new 607 const char **new = apr_array_push(conf->includes); local 617 const char **new = apr_array_push(conf->excludes); local [all...] |
H A D | mod_session_crypto.c | 469 session_crypto_conf *new = local 476 new->library = APU_CRYPTO_RECOMMENDED_DRIVER; 479 return (void *) new; 484 session_crypto_dir_conf *new = local 487 new->passphrases = apr_array_make(p, 10, sizeof(char *)); 490 new->cipher = "aes256"; 492 return (void *) new; 497 session_crypto_dir_conf *new = (session_crypto_dir_conf *) apr_pcalloc(p, sizeof(session_crypto_dir_conf)); local 501 new->passphrases = (add->passphrases_set == 0) ? base->passphrases : add->passphrases; 502 new [all...] |
/httpd/modules/filters/ |
H A D | mod_buffer.c | 127 * new. 156 * allocating a new bucket if necessary. 298 buffer_conf *new = (buffer_conf *) apr_pcalloc(p, sizeof(buffer_conf)); local 300 new->size_set = 0; /* unset */ 301 new->size = DEFAULT_BUFFER_SIZE; /* default size */ 303 return (void *) new; 307 buffer_conf *new = (buffer_conf *) apr_pcalloc(p, sizeof(buffer_conf)); local 311 new->size = (add->size_set == 0) ? base->size : add->size; 312 new->size_set = add->size_set || base->size_set; 314 return new; [all...] |
H A D | mod_request.c | 333 request_dir_conf *new = local 336 new->keep_body_set = 0; /* unset */ 337 new->keep_body = 0; /* don't by default */ 339 return (void *) new; 344 request_dir_conf *new = (request_dir_conf *) apr_pcalloc(p, sizeof(request_dir_conf)); local 348 new->keep_body = (add->keep_body_set == 0) ? base->keep_body : add->keep_body; 349 new->keep_body_set = add->keep_body_set || base->keep_body_set; 351 return new;
|
/httpd/modules/generators/ |
H A D | mod_autoindex.c | 615 autoindex_config_rec *new = local 618 new->icon_width = 0; 619 new->icon_height = 0; 620 new->name_width = DEFAULT_NAME_WIDTH; 621 new->name_adjust = K_UNSET; 622 new->desc_width = DEFAULT_DESC_WIDTH; 623 new->desc_adjust = K_UNSET; 624 new->icon_list = apr_array_make(p, 4, sizeof(struct item)); 625 new->alt_list = apr_array_make(p, 4, sizeof(struct item)); 626 new 639 autoindex_config_rec *new; local [all...] |
/httpd/modules/cache/ |
H A D | mod_cache.c | 1128 * Note: a new response that has an older Date header value than 1293 * new entity and store the response in it. 1295 * entity in the system which needs to be replaced by new 1324 /* no cache handle, create a new entity */ 1355 * the new date, last modified, expire and content length and write 1948 cache_dir_conf *new = (cache_dir_conf *) apr_pcalloc(p, sizeof(cache_dir_conf)); local 1952 new->no_last_mod_ignore = (add->no_last_mod_ignore_set == 0) ? base->no_last_mod_ignore : add->no_last_mod_ignore; 1953 new->no_last_mod_ignore_set = add->no_last_mod_ignore_set || base->no_last_mod_ignore_set; 1955 new->store_expired = (add->store_expired_set == 0) ? base->store_expired : add->store_expired; 1956 new 2162 char **new; local 2190 char **new; local 2220 struct cache_enable *new; local 2276 struct cache_disable *new; local [all...] |
/httpd/support/ |
H A D | log_server_status.in | 51 my $socket = new IO::Socket::INET(
|
/httpd/server/ |
H A D | core.c | 207 core_dir_config *new = (core_dir_config *)newv; local 211 * (or creating copies for merging) where new-> values exist. 215 conf->d = new->d; 216 conf->d_is_fnmatch = new->d_is_fnmatch; 217 conf->d_components = new->d_components; 218 conf->r = new->r; 219 conf->refs = new->refs; 220 conf->condition = new->condition; 222 if (new->opts & OPT_UNSET) { 223 /* there was no explicit setting of new 594 core_dir_config *new = ap_get_module_config(if_config, &core_module); local 5013 conn_slave_rec *new; local [all...] |
H A D | main.c | 520 char **new; local 524 new = (char **)apr_array_push(ap_server_post_read_config); 525 *new = apr_pstrdup(pcommands, opt_arg); 529 new = (char **)apr_array_push(ap_server_pre_read_config); 530 *new = apr_pstrdup(pcommands, opt_arg); 538 new = (char **)apr_array_push(ap_server_config_defines); 539 *new = apr_pstrdup(pcommands, opt_arg); 561 new = (char **)apr_array_push(ap_server_config_defines); 562 *new = "DEBUG"; 594 new [all...] |
H A D | listen.c | 376 ap_listen_rec *last, *new; local 389 rv = alloc_systemd_listener(process, fd, proto, &new); 395 ap_listeners = last = new; 398 last->next = new; 399 last = new; 421 ap_listen_rec *new; local 431 new = *walk; 432 *walk = new->next; 433 new->next = ap_listeners; 434 ap_listeners = new; 466 ap_listen_rec *new; local [all...] |
/httpd/modules/aaa/ |
H A D | mod_auth_form.c | 108 auth_form_config_rec *new = (auth_form_config_rec *) apr_pcalloc(p, sizeof(auth_form_config_rec)); local 112 new->providers = !add->providers ? base->providers : add->providers; 113 new->authoritative = (add->authoritative_set == 0) ? base->authoritative : add->authoritative; 114 new->authoritative_set = add->authoritative_set || base->authoritative_set; 115 new->site = (add->site_set == 0) ? base->site : add->site; 116 new->site_set = add->site_set || base->site_set; 117 new->username = (add->username_set == 0) ? base->username : add->username; 118 new->username_set = add->username_set || base->username_set; 119 new->password = (add->password_set == 0) ? base->password : add->password; 120 new [all...] |