Functions

/build/buildd-opendnssec_1.3.2-1~bpo60+1-powerpc-mjESd6/opendnssec-1.3.2/signer/src/parser/signconfparser.c File Reference

#include "parser/confparser.h"
#include "parser/signconfparser.h"
#include "shared/allocator.h"
#include "shared/duration.h"
#include "shared/log.h"
#include "signer/keys.h"
#include <libxml/parser.h>
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
#include <libxml/xmlreader.h>
#include <stdlib.h>
Include dependency graph for signconfparser.c:

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_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 385 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().

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

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.

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  ) 

Parse elements from the configuration file.

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

Definition at line 370 of file signconfparser.c.

References parse_conf_string().

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

Definition at line 421 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.

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.

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().

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

Parse elements from the configuration file.

Definition at line 404 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().