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

Function job_loadj

modules/md/md_status.c:125–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125static apr_status_t job_loadj(md_json_t **pjson, md_store_group_t group, const char *name,
126 struct md_reg_t *reg, int with_log, apr_pool_t *p)
127{
128 apr_status_t rv;
129
130 md_store_t *store = md_reg_store_get(reg);
131 rv = md_store_load_json(store, group, name, MD_FN_JOB, pjson, p);
132 if (APR_SUCCESS == rv) {
133 if (!md_job_json_seems_valid(*pjson, store, group, name, p)) {
134 *pjson = NULL;
135 return APR_ENOENT;
136 }
137 if(!with_log) md_json_del(*pjson, MD_KEY_LOG, NULL);
138 }
139 return rv;
140}
141
142static apr_status_t status_get_cert_json_ex(
143 md_json_t **pjson,

Callers 2

status_get_cert_json_exFunction · 0.70
status_get_md_jsonFunction · 0.70

Calls 4

md_reg_store_getFunction · 0.85
md_store_load_jsonFunction · 0.85
md_job_json_seems_validFunction · 0.85
md_json_delFunction · 0.85

Tested by

no test coverage detected