Apache HTTPD
Classes | Macros | Functions | Variables
mod_md_drive.c File Reference
#include <assert.h>
#include <apr_optional.h>
#include <apr_hash.h>
#include <apr_strings.h>
#include <apr_date.h>
#include <httpd.h>
#include <http_core.h>
#include <http_protocol.h>
#include <http_request.h>
#include <http_log.h>
#include "mod_watchdog.h"
#include "md.h"
#include "md_curl.h"
#include "md_crypt.h"
#include "md_event.h"
#include "md_http.h"
#include "md_json.h"
#include "md_status.h"
#include "md_store.h"
#include "md_store_fs.h"
#include "md_log.h"
#include "md_result.h"
#include "md_reg.h"
#include "md_util.h"
#include "md_version.h"
#include "md_acme.h"
#include "md_acme_authz.h"
#include "mod_md.h"
#include "mod_md_private.h"
#include "mod_md_config.h"
#include "mod_md_status.h"
#include "mod_md_drive.h"

Go to the source code of this file.

Classes

struct  md_renew_ctx_t
 

Macros

#define MD_RENEW_WATCHDOG_NAME   "_md_renew_"
 

Functions

static void process_drive_job (md_renew_ctx_t *dctx, md_job_t *job, apr_pool_t *ptemp)
 
int md_will_renew_cert (const md_t *md)
 
static apr_time_t next_run_default (md_renew_ctx_t *dctx)
 
static apr_status_t run_watchdog (int state, void *baton, apr_pool_t *ptemp)
 
apr_status_t md_renew_start_watching (md_mod_conf_t *mc, server_rec *s, apr_pool_t *p)
 

Variables

static apr_OFN_ap_watchdog_get_instance_twd_get_instance
 
static apr_OFN_ap_watchdog_register_callback_twd_register_callback
 
static apr_OFN_ap_watchdog_set_callback_interval_twd_set_interval
 

Macro Definition Documentation

◆ MD_RENEW_WATCHDOG_NAME

#define MD_RENEW_WATCHDOG_NAME   "_md_renew_"

Definition at line 57 of file mod_md_drive.c.

Function Documentation

◆ md_renew_start_watching()

apr_status_t md_renew_start_watching ( struct md_mod_conf_t mc,
server_rec s,
apr_pool_t p 
)

Start driving the certificate renewal for MDs marked with watched.

< Module has handled this stage.

Definition at line 252 of file mod_md_drive.c.

◆ md_will_renew_cert()

int md_will_renew_cert ( const md_t md)

Definition at line 177 of file mod_md_drive.c.

◆ next_run_default()

static apr_time_t next_run_default ( md_renew_ctx_t dctx)
static

Definition at line 188 of file mod_md_drive.c.

◆ process_drive_job()

static void process_drive_job ( md_renew_ctx_t dctx,
md_job_t job,
apr_pool_t ptemp 
)
static

Definition at line 72 of file mod_md_drive.c.

◆ run_watchdog()

static apr_status_t run_watchdog ( int  state,
void *  baton,
apr_pool_t ptemp 
)
static

Definition at line 197 of file mod_md_drive.c.

Variable Documentation

◆ wd_get_instance

apr_OFN_ap_watchdog_get_instance_t* wd_get_instance
static

Definition at line 59 of file mod_md_drive.c.

◆ wd_register_callback

apr_OFN_ap_watchdog_register_callback_t* wd_register_callback
static

Definition at line 60 of file mod_md_drive.c.

◆ wd_set_interval

Definition at line 61 of file mod_md_drive.c.