|
Apache HTTPD
|
#include "md_store.h"Go to the source code of this file.
Classes | |
| struct | md_job_t |
Typedefs | |
| typedef struct md_job_t | md_job_t |
| apr_time_t md_job_delay_on_errors | ( | md_job_t * | job, |
| int | err_count, | ||
| const char * | last_problem | ||
| ) |
Given the number of errors and the last problem encountered, recommend a delay for the next attempt of job
Definition at line 578 of file md_status.c.
| void md_job_end_run | ( | md_job_t * | job, |
| struct md_result_t * | result | ||
| ) |
Definition at line 611 of file md_status.c.
| apr_status_t md_job_load | ( | md_job_t * | job | ) |
Update the job from storage in <group>/job->mdomain.
Definition at line 358 of file md_status.c.
| void md_job_log_append | ( | md_job_t * | job, |
| const char * | type, | ||
| const char * | status, | ||
| const char * | detail | ||
| ) |
Append to the job's log. Timestamp is automatically added.
| type | type of log entry |
| status | status of entry (maybe NULL) |
| detail | description of what happened |
Definition at line 382 of file md_status.c.
Retrieve the latest log entry of a certain type.
Definition at line 421 of file md_status.c.
| apr_time_t md_job_log_get_time_of_latest | ( | md_job_t * | job, |
| const char * | type | ||
| ) |
Get the time the latest log entry of the given type happened, or 0 if none is found.
Definition at line 433 of file md_status.c.
| md_job_t * md_job_make | ( | apr_pool_t * | p, |
| md_store_t * | store, | ||
| md_store_group_t | group, | ||
| const char * | name, | ||
| apr_time_t | min_delay | ||
| ) |
Create a new job instance for the given MD name. Job load/save will work using the name.
Definition at line 288 of file md_status.c.
| apr_status_t md_job_notify | ( | md_job_t * | job, |
| const char * | reason, | ||
| struct md_result_t * | result | ||
| ) |
Definition at line 634 of file md_status.c.
| void md_job_retry_at | ( | md_job_t * | job, |
| apr_time_t | later | ||
| ) |
Definition at line 628 of file md_status.c.
| apr_status_t md_job_save | ( | md_job_t * | job, |
| struct md_result_t * | result, | ||
| apr_pool_t * | p | ||
| ) |
Update storage from job in <group>/job->mdomain.
Definition at line 370 of file md_status.c.
| void md_job_set_group | ( | md_job_t * | job, |
| md_store_group_t | group | ||
| ) |
Definition at line 302 of file md_status.c.
| void md_job_start_run | ( | md_job_t * | job, |
| struct md_result_t * | result, | ||
| md_store_t * | store | ||
| ) |
Definition at line 570 of file md_status.c.
| apr_status_t md_status_get_json | ( | struct md_json_t ** | pjson, |
| apr_array_header_t * | mds, | ||
| struct md_reg_t * | reg, | ||
| struct md_ocsp_reg_t * | ocsp, | ||
| apr_pool_t * | p | ||
| ) |
Get a JSON summary of all MDs and their status.
Definition at line 267 of file md_status.c.
| apr_status_t md_status_get_md_json | ( | struct md_json_t ** | pjson, |
| const md_t * | md, | ||
| struct md_reg_t * | reg, | ||
| struct md_ocsp_reg_t * | ocsp, | ||
| apr_pool_t * | p | ||
| ) |
Get a JSON summary of the MD and its status (certificates, jobs, etc.).
Definition at line 261 of file md_status.c.
| void md_status_take_stock | ( | struct md_json_t ** | pjson, |
| apr_array_header_t * | mds, | ||
| struct md_reg_t * | reg, | ||
| apr_pool_t * | p | ||
| ) |
Take stock of all MDs given for a short overview. The JSON returned will carry integers for MD_KEY_COMPLETE, MD_KEY_RENEWING, MD_KEY_ERRORED, MD_KEY_READY and MD_KEY_TOTAL.
Definition at line 446 of file md_status.c.