| 470 | } |
| 471 | |
| 472 | AP_DECLARE(int) ap_method_is_limited(cmd_parms *cmd, const char *method) |
| 473 | { |
| 474 | int methnum; |
| 475 | |
| 476 | methnum = ap_method_number_of(method); |
| 477 | |
| 478 | /* |
| 479 | * A method number either hardcoded into apache or |
| 480 | * added by a module and registered. |
| 481 | */ |
| 482 | if (methnum != M_INVALID) { |
| 483 | return (cmd->limited & (AP_METHOD_BIT << methnum)) ? 1 : 0; |
| 484 | } |
| 485 | |
| 486 | return 0; /* not found */ |
| 487 | } |
| 488 | |
| 489 | AP_DECLARE(void) ap_register_hooks(module *m, apr_pool_t *p) |
| 490 | { |
nothing calls this directly
no test coverage detected