OpenDNSSEC-signer 1.3.0
Functions
/build/buildd/opendnssec-1.3.0/signer/src/parser/signconfparser.h File Reference
#include "parser/confparser.h"
#include "shared/allocator.h"
#include "shared/duration.h"
#include "signer/keys.h"
#include "config.h"
#include <ldns/ldns.h>
Include dependency graph for signconfparser.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

keylist_typeparse_sc_keys (allocator_type *allocator, const char *cfgfile)
duration_typeparse_sc_sig_resign_interval (const char *cfgfile)
duration_typeparse_sc_sig_refresh_interval (const char *cfgfile)
duration_typeparse_sc_sig_validity_default (const char *cfgfile)
duration_typeparse_sc_sig_validity_denial (const char *cfgfile)
duration_typeparse_sc_sig_jitter (const char *cfgfile)
duration_typeparse_sc_sig_inception_offset (const char *cfgfile)
duration_typeparse_sc_dnskey_ttl (const char *cfgfile)
duration_typeparse_sc_soa_ttl (const char *cfgfile)
duration_typeparse_sc_soa_min (const char *cfgfile)
ldns_rr_type parse_sc_nsec_type (const char *cfgfile)
uint32_t parse_sc_nsec3_algorithm (const char *cfgfile)
uint32_t parse_sc_nsec3_iterations (const char *cfgfile)
int parse_sc_dnskey_ttl_use (const char *cfgfile)
int parse_sc_soa_ttl_use (const char *cfgfile)
int parse_sc_soa_min_use (const char *cfgfile)
int parse_sc_nsec3_optout (const char *cfgfile)
int parse_sc_audit (const char *cfgfile)
const char * parse_sc_soa_serial (allocator_type *allocator, const char *cfgfile)
const char * parse_sc_nsec3_salt (allocator_type *allocator, const char *cfgfile)

Function Documentation

int parse_sc_audit ( const char *  cfgfile)

Definition at line 440 of file signconfparser.c.

References parse_conf_string().

duration_type* parse_sc_dnskey_ttl ( const char *  cfgfile)

Definition at line 257 of file signconfparser.c.

References duration_create_from_string(), and parse_conf_string().

int parse_sc_dnskey_ttl_use ( const char *  cfgfile)

Parse elements from the configuration file.

Parameters:
[in]cfgfilethe configuration file name.
Returns:
int integer

Parse elements from the configuration file.

Definition at line 374 of file signconfparser.c.

References parse_conf_string().

keylist_type* parse_sc_keys ( allocator_type allocator,
const char *  cfgfile 
)

Parsing signer configuration files. Parse keys from the signer configuration file.

Parameters:
[in]cfgfilethe configuration file name.
Returns:
keylist_type* key list

Parse keys from the signer configuration file.

Definition at line 55 of file signconfparser.c.

References key_create(), keylist_create(), keylist_push(), ods_log_assert, ods_log_error(), and ODS_STATUS_OK.

uint32_t parse_sc_nsec3_algorithm ( const char *  cfgfile)

Parse elements from the configuration file.

Parameters:
[in]cfgfilethe configuration file name.
Returns:
uint32_t integer

Parse elements from the configuration file.

Definition at line 336 of file signconfparser.c.

References parse_conf_string().

uint32_t parse_sc_nsec3_iterations ( const char *  cfgfile)

Definition at line 353 of file signconfparser.c.

References parse_conf_string().

int parse_sc_nsec3_optout ( const char *  cfgfile)

Definition at line 425 of file signconfparser.c.

References parse_conf_string().

const char* parse_sc_nsec3_salt ( allocator_type allocator,
const char *  cfgfile 
)

Definition at line 476 of file signconfparser.c.

References allocator_strdup(), and parse_conf_string().

ldns_rr_type parse_sc_nsec_type ( const char *  cfgfile)

Parse elements from the configuration file.

Parameters:
[in]cfgfilethe configuration file name.
Returns:
ldns_rr_type rr type

Parse elements from the configuration file.

Definition at line 309 of file signconfparser.c.

References parse_conf_string().

duration_type* parse_sc_sig_inception_offset ( const char *  cfgfile)

Definition at line 241 of file signconfparser.c.

References duration_create_from_string(), and parse_conf_string().

duration_type* parse_sc_sig_jitter ( const char *  cfgfile)

Definition at line 225 of file signconfparser.c.

References duration_create_from_string(), and parse_conf_string().

duration_type* parse_sc_sig_refresh_interval ( const char *  cfgfile)

Definition at line 177 of file signconfparser.c.

References duration_create_from_string(), and parse_conf_string().

duration_type* parse_sc_sig_resign_interval ( const char *  cfgfile)

Parse elements from the configuration file.

Parameters:
[in]cfgfilethe configuration file name.
Returns:
duration_type* duration

Parse elements from the configuration file.

Definition at line 161 of file signconfparser.c.

References duration_create_from_string(), and parse_conf_string().

duration_type* parse_sc_sig_validity_default ( const char *  cfgfile)

Definition at line 193 of file signconfparser.c.

References duration_create_from_string(), and parse_conf_string().

duration_type* parse_sc_sig_validity_denial ( const char *  cfgfile)

Definition at line 209 of file signconfparser.c.

References duration_create_from_string(), and parse_conf_string().

duration_type* parse_sc_soa_min ( const char *  cfgfile)

Definition at line 289 of file signconfparser.c.

References duration_create_from_string(), and parse_conf_string().

int parse_sc_soa_min_use ( const char *  cfgfile)

Definition at line 408 of file signconfparser.c.

References parse_conf_string().

const char* parse_sc_soa_serial ( allocator_type allocator,
const char *  cfgfile 
)

Parse elements from the configuration file.

Parameters:
[in]cfgfilethe configuration file name.
Returns:
const char* string

Parse elements from the configuration file.

Definition at line 459 of file signconfparser.c.

References allocator_strdup(), and parse_conf_string().

duration_type* parse_sc_soa_ttl ( const char *  cfgfile)

Definition at line 273 of file signconfparser.c.

References duration_create_from_string(), and parse_conf_string().

int parse_sc_soa_ttl_use ( const char *  cfgfile)

Definition at line 391 of file signconfparser.c.

References parse_conf_string().