| 151 | } |
| 152 | |
| 153 | md_t *md_get_by_name(struct apr_array_header_t *mds, const char *name) |
| 154 | { |
| 155 | int i; |
| 156 | for (i = 0; i < mds->nelts; ++i) { |
| 157 | md_t *md = APR_ARRAY_IDX(mds, i, md_t *); |
| 158 | if (!strcmp(name, md->name)) { |
| 159 | return md; |
| 160 | } |
| 161 | } |
| 162 | return NULL; |
| 163 | } |
| 164 | |
| 165 | md_t *md_get_by_domain(struct apr_array_header_t *mds, const char *domain) |
| 166 | { |
no outgoing calls
no test coverage detected