| 401 | } |
| 402 | |
| 403 | md_t *md_reg_find_overlap(md_reg_t *reg, const md_t *md, const char **pdomain, apr_pool_t *p) |
| 404 | { |
| 405 | find_overlap_ctx ctx; |
| 406 | |
| 407 | ctx.md_checked = md; |
| 408 | ctx.md = NULL; |
| 409 | ctx.s = NULL; |
| 410 | |
| 411 | reg_do(find_overlap, &ctx, reg, p, md->name); |
| 412 | if (pdomain && ctx.s) { |
| 413 | *pdomain = ctx.s; |
| 414 | } |
| 415 | if (ctx.md) { |
| 416 | state_init(reg, p, ctx.md); |
| 417 | } |
| 418 | return ctx.md; |
| 419 | } |
| 420 | |
| 421 | /**************************************************************************************************/ |
| 422 | /* manipulation */ |
no test coverage detected