MCPcopy Create free account
hub / github.com/apache/httpd / insp_md

Function insp_md

modules/md/md_store.c:357–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355} inspect_md_ctx;
356
357static 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
370apr_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)

Callers

nothing calls this directly

Calls 2

md_from_jsonFunction · 0.85
md_log_perrorFunction · 0.85

Tested by

no test coverage detected