MCPcopy Create free account
hub / github.com/apache/httpd / ap_make_method_list

Function ap_make_method_list

modules/http/http_protocol.c:1548–1556  ·  view source on GitHub ↗

* Create a new method list with the specified number of preallocated * extension slots. */

Source from the content-addressed store, hash-verified

1546 * extension slots.
1547 */
1548AP_DECLARE(ap_method_list_t *) ap_make_method_list(apr_pool_t *p, int nelts)
1549{
1550 ap_method_list_t *ml;
1551
1552 ml = (ap_method_list_t *) apr_palloc(p, sizeof(ap_method_list_t));
1553 ml->method_mask = 0;
1554 ml->method_list = apr_array_make(p, nelts, sizeof(char *));
1555 return ml;
1556}
1557
1558/*
1559 * Make a copy of a method list (primarily for subrequests that may

Callers 5

create_request_recFunction · 0.85
my_ap_create_requestFunction · 0.85
ap_create_requestFunction · 0.85
make_sub_requestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected