/httpd/modules/lua/test/ |
H A D | moonunit.lua | 20 function TestCase:new(it)
|
/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...] |
/httpd/modules/filters/ |
H A D | mod_reflector.c | 187 reflector_cfg *new = (reflector_cfg *) apr_pcalloc(p, local 192 new->headers = apr_table_overlay(p, add->headers, base->headers); 194 return new; 214 "Header to reflect back in the response, with an optional new name."),
|
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/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/aaa/ |
H A D | mod_authn_core.c | 86 authn_core_dir_conf *new = (authn_core_dir_conf *)newv; local 90 if (new->auth_type_set) { 91 conf->ap_auth_type = new->ap_auth_type; 99 if (new->ap_auth_name) { 100 conf->ap_auth_name = new->ap_auth_name; 274 /* Save off the new directory config along with the original provider name
|
/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 | byterange_filter.c | 212 /* new set */ 242 /* new set again */ 273 char **new = (char **)apr_array_push(merged); local 274 *new = apr_psprintf(r->pool, "%" APR_OFF_T_FMT "-%" APR_OFF_T_FMT,
|
/httpd/modules/loggers/ |
H A D | mod_log_debug.c | 171 const log_debug_dirconf *new = new_conf; local 174 merged->entries = new->entries; 175 else if (new->entries == NULL) 178 /* apr_array_append actually creates a new array */ 179 merged->entries = apr_array_append(p, parent->entries, new->entries);
|
H A D | mod_log_forensic.c | 59 static void *merge_forensic_log_scfg(apr_pool_t *p, void *parent, void *new) argument 63 fcfg *nc = new;
|
H A D | mod_logio.c | 238 logio_dirconf_t *new = local 240 return (void *) new;
|
/httpd/modules/metadata/ |
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_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_ident.c | 275 ident_config_rec *new = (ident_config_rec *) new_; local 277 conf->timeout = new->timeout_unset 279 : new->timeout; 281 conf->do_rfc1413 = new->do_rfc1413 & RFC1413_UNSET 283 : new->do_rfc1413;
|
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...] |
/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.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_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...] |
/httpd/modules/slotmem/ |
H A D | mod_slotmem_plain.c | 66 static apr_status_t slotmem_create(ap_slotmem_instance_t **new, const char *name, apr_size_t item_size, unsigned int item_num, ap_slotmem_type_t type, apr_pool_t *pool) argument 85 *new = next; 116 *new = res; 120 static apr_status_t slotmem_attach(ap_slotmem_instance_t **new, const char *name, apr_size_t *item_size, unsigned int *item_num, apr_pool_t *pool) argument 138 *new = next;
|
/httpd/server/ |
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...] |
/httpd/modules/arch/win32/ |
H A D | mod_win32.c | 64 win32_dir_conf *new; local 68 new = (win32_dir_conf *) apr_pcalloc(p, sizeof(win32_dir_conf)); 69 new->script_interpreter_source = (add->script_interpreter_source 73 return new;
|
/httpd/modules/proxy/ |
H A D | mod_proxy_wstunnel.c | 149 baton->proxy_connrec->close = 1; /* new handshake expected on each back-conn */ 557 proxyws_dir_conf *new = local 560 new->idle_timeout = -1; /* no timeout */ 562 return (void *) new;
|