| 474 | } |
| 475 | |
| 476 | md_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 | |
| 488 | apr_time_t md_job_log_get_time_of_latest(md_job_t *job, const char *type) |
| 489 | { |
no test coverage detected