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

Function md_load

modules/md/md_store.c:185–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185apr_status_t md_load(md_store_t *store, md_store_group_t group,
186 const char *name, md_t **pmd, apr_pool_t *p)
187{
188 md_json_t *json;
189 apr_status_t rv;
190
191 rv = md_store_load_json(store, group, name, MD_FN_MD, pmd? &json : NULL, p);
192 if (APR_SUCCESS == rv) {
193 if (pmd) {
194 *pmd = md_from_json(json, p);
195 }
196 return APR_SUCCESS;
197 }
198 return rv;
199}
200
201static apr_status_t p_save(void *baton, apr_pool_t *p, apr_pool_t *ptemp, va_list ap)
202{

Callers 7

md_job_json_seems_validFunction · 0.85
md_reg_getFunction · 0.85
md_reg_sync_startFunction · 0.85
md_reg_sync_finishFunction · 0.85
run_load_stagingFunction · 0.85
acme_renewFunction · 0.85
acme_preloadFunction · 0.85

Calls 2

md_store_load_jsonFunction · 0.85
md_from_jsonFunction · 0.85

Tested by

no test coverage detected