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

Function md_job_log_get_latest

modules/md/md_status.c:476–486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474}
475
476md_json_t *md_job_log_get_latest(md_job_t *job, const char *type)
477
478{
479 log_find_ctx ctx;
480
481 memset(&ctx, 0, sizeof(ctx));
482 ctx.job = job;
483 ctx.type = type;
484 if (job->log) md_json_itera(find_first_log_entry, &ctx, job->log, MD_KEY_ENTRIES, NULL);
485 return ctx.entry;
486}
487
488apr_time_t md_job_log_get_time_of_latest(md_job_t *job, const char *type)
489{

Callers 1

Calls 1

md_json_iteraFunction · 0.85

Tested by

no test coverage detected