Apache2
ssl_ct_log_config.h File Reference
#include "httpd.h"
#include "mod_ssl_openssl.h"
Include dependency graph for ssl_ct_log_config.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ct_log_config
 

Macros

#define DISTRUSTED_UNSET   -1
 
#define TRUSTED   0
 
#define DISTRUSTED   1
 

Typedefs

typedef struct ct_log_config ct_log_config
 

Functions

int log_config_readable (apr_pool_t *p, const char *logconfig, const char **msg)
 
apr_status_t read_config_db (apr_pool_t *p, server_rec *s_main, const char *log_config_fname, apr_array_header_t *log_config)
 
apr_status_t save_log_config_entry (apr_array_header_t *log_config, apr_pool_t *p, const char *log_id, const char *pubkey_fname, const char *distrusted, const char *min_time, const char *max_time, const char *url)
 
int log_valid_for_sent_sct (const ct_log_config *l)
 
int log_valid_for_received_sct (const ct_log_config *l, apr_time_t to_check)
 
int log_configured_for_fetching_sct (const ct_log_config *l)
 

Macro Definition Documentation

◆ DISTRUSTED

#define DISTRUSTED   1

◆ DISTRUSTED_UNSET

#define DISTRUSTED_UNSET   -1

◆ TRUSTED

#define TRUSTED   0

Typedef Documentation

◆ ct_log_config

typedef struct ct_log_config ct_log_config

Function Documentation

◆ log_config_readable()

int log_config_readable ( apr_pool_t p,
const char *  logconfig,
const char **  msg 
)

◆ log_configured_for_fetching_sct()

int log_configured_for_fetching_sct ( const ct_log_config l)

◆ log_valid_for_received_sct()

int log_valid_for_received_sct ( const ct_log_config l,
apr_time_t  to_check 
)

◆ log_valid_for_sent_sct()

int log_valid_for_sent_sct ( const ct_log_config l)

◆ read_config_db()

apr_status_t read_config_db ( apr_pool_t p,
server_rec s_main,
const char *  log_config_fname,
apr_array_header_t log_config 
)

◆ save_log_config_entry()

apr_status_t save_log_config_entry ( apr_array_header_t log_config,
apr_pool_t p,
const char *  log_id,
const char *  pubkey_fname,
const char *  distrusted,
const char *  min_time,
const char *  max_time,
const char *  url 
)