| 355 | } inspect_md_ctx; |
| 356 | |
| 357 | static int insp_md(void *baton, const char *name, const char *aspect, |
| 358 | md_store_vtype_t vtype, void *value, apr_pool_t *ptemp) |
| 359 | { |
| 360 | inspect_md_ctx *ctx = baton; |
| 361 | |
| 362 | if (!strcmp(MD_FN_MD, aspect) && vtype == MD_SV_JSON) { |
| 363 | md_t *md = md_from_json(value, ptemp); |
| 364 | md_log_perror(MD_LOG_MARK, MD_LOG_TRACE3, 0, ptemp, "inspecting md at: %s", name); |
| 365 | return ctx->inspect(ctx->baton, ctx->store, md, ptemp); |
| 366 | } |
| 367 | return 1; |
| 368 | } |
| 369 | |
| 370 | apr_status_t md_store_md_iter(md_store_md_inspect *inspect, void *baton, md_store_t *store, |
| 371 | apr_pool_t *p, md_store_group_t group, const char *pattern) |
nothing calls this directly
no test coverage detected