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

Function md_reg_get

modules/md/md_reg.c:341–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339/* lookup */
340
341md_t *md_reg_get(md_reg_t *reg, const char *name, apr_pool_t *p)
342{
343 md_t *md;
344
345 if (APR_SUCCESS == md_load(reg->store, MD_SG_DOMAINS, name, &md, p)) {
346 state_init(reg, p, md);
347 return md;
348 }
349 return NULL;
350}
351
352typedef struct {
353 const char *domain;

Callers 1

p_md_updateFunction · 0.85

Calls 2

md_loadFunction · 0.85
state_initFunction · 0.85

Tested by

no test coverage detected