* Create a new method list with the specified number of preallocated * extension slots. */
| 1546 | * extension slots. |
| 1547 | */ |
| 1548 | AP_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 |
no outgoing calls
no test coverage detected