OpenDNSSEC-enforcer  2.0.2
Functions
confparser.h File Reference
#include <time.h>
#include "config.h"
#include "status.h"
#include "daemon/cfg.h"

Go to the source code of this file.

Functions

ods_status parse_file_check (const char *cfgfile, const char *rngfile)
 
const char * parse_conf_string (const char *cfgfile, const char *expr, int required)
 
const char * parse_conf_policy_filename (const char *cfgfile)
 
const char * parse_conf_zonelist_filename (const char *cfgfile)
 
const char * parse_conf_zonefetch_filename (const char *cfgfile)
 
const char * parse_conf_log_filename (const char *cfgfile)
 
const char * parse_conf_pid_filename (const char *cfgfile)
 
const char * parse_conf_delegation_signer_submit_command (const char *cfgfile)
 
const char * parse_conf_delegation_signer_retract_command (const char *cfgfile)
 
const char * parse_conf_clisock_filename (const char *cfgfile)
 
const char * parse_conf_working_dir (const char *cfgfile)
 
const char * parse_conf_username (const char *cfgfile)
 
const char * parse_conf_group (const char *cfgfile)
 
const char * parse_conf_chroot (const char *cfgfile)
 
const char * parse_conf_datastore (const char *cfgfile)
 
const char * parse_conf_db_host (const char *cfgfile)
 
const char * parse_conf_db_username (const char *cfgfile)
 
const char * parse_conf_db_password (const char *cfgfile)
 
engineconfig_database_type_t parse_conf_db_type (const char *cfgfile)
 
int parse_conf_use_syslog (const char *cfgfile)
 
int parse_conf_verbosity (const char *cfgfile)
 
int parse_conf_worker_threads (const char *cfgfile)
 
int parse_conf_manual_keygen (const char *cfgfile)
 
int parse_conf_db_port (const char *cfgfile)
 
time_t parse_conf_automatic_keygen_period (const char *cfgfile)
 
hsm_repository_t * parse_conf_repositories (const char *cfgfile)
 

Function Documentation

§ parse_conf_automatic_keygen_period()

time_t parse_conf_automatic_keygen_period ( const char *  cfgfile)

Definition at line 699 of file confparser.c.

References parse_conf_string().

§ parse_conf_chroot()

const char* parse_conf_chroot ( const char *  cfgfile)

Definition at line 507 of file confparser.c.

References parse_conf_string().

§ parse_conf_clisock_filename()

const char* parse_conf_clisock_filename ( const char *  cfgfile)

Definition at line 431 of file confparser.c.

References ods_log_warning(), and parse_conf_string().

§ parse_conf_datastore()

const char* parse_conf_datastore ( const char *  cfgfile)

Definition at line 523 of file confparser.c.

References parse_conf_string().

§ parse_conf_db_host()

const char* parse_conf_db_host ( const char *  cfgfile)

Definition at line 548 of file confparser.c.

References parse_conf_string().

§ parse_conf_db_password()

const char* parse_conf_db_password ( const char *  cfgfile)

Definition at line 580 of file confparser.c.

References parse_conf_string().

§ parse_conf_db_port()

int parse_conf_db_port ( const char *  cfgfile)

Definition at line 659 of file confparser.c.

References parse_conf_string().

§ parse_conf_db_type()

engineconfig_database_type_t parse_conf_db_type ( const char *  cfgfile)

§ parse_conf_db_username()

const char* parse_conf_db_username ( const char *  cfgfile)

Definition at line 564 of file confparser.c.

References parse_conf_string().

§ parse_conf_delegation_signer_retract_command()

const char* parse_conf_delegation_signer_retract_command ( const char *  cfgfile)

Definition at line 415 of file confparser.c.

References parse_conf_string().

§ parse_conf_delegation_signer_submit_command()

const char* parse_conf_delegation_signer_submit_command ( const char *  cfgfile)

Definition at line 399 of file confparser.c.

References parse_conf_string().

§ parse_conf_group()

const char* parse_conf_group ( const char *  cfgfile)

Definition at line 490 of file confparser.c.

References parse_conf_string().

§ parse_conf_log_filename()

const char* parse_conf_log_filename ( const char *  cfgfile)

Definition at line 360 of file confparser.c.

References parse_conf_string().

§ parse_conf_manual_keygen()

int parse_conf_manual_keygen ( const char *  cfgfile)

Definition at line 646 of file confparser.c.

References parse_conf_string().

§ parse_conf_pid_filename()

const char* parse_conf_pid_filename ( const char *  cfgfile)

Enforcer specific

Definition at line 380 of file confparser.c.

References parse_conf_string().

§ parse_conf_policy_filename()

const char* parse_conf_policy_filename ( const char *  cfgfile)

Parse elements from the configuration file.

Parameters
[in]allocatorthe allocator
[in]cfgfilethe configuration file name
Returns
const char* stringCommon

Parse elements from the configuration file.

Definition at line 310 of file confparser.c.

References parse_conf_string().

§ parse_conf_repositories()

hsm_repository_t* parse_conf_repositories ( const char *  cfgfile)

Parse the repositories.

Definition at line 205 of file confparser.c.

References ods_log_error().

§ parse_conf_string()

const char* parse_conf_string ( const char *  cfgfile,
const char *  expr,
int  required 
)

§ parse_conf_use_syslog()

int parse_conf_use_syslog ( const char *  cfgfile)

Parse elements from the configuration file.

Parameters
[in]cfgfilethe configuration file name
Returns
int integerCommon

Parse elements from the configuration file.

Definition at line 600 of file confparser.c.

References parse_conf_string().

§ parse_conf_username()

const char* parse_conf_username ( const char *  cfgfile)

Definition at line 473 of file confparser.c.

References parse_conf_string().

§ parse_conf_verbosity()

int parse_conf_verbosity ( const char *  cfgfile)

Definition at line 613 of file confparser.c.

References parse_conf_string(), and verbosity.

§ parse_conf_worker_threads()

int parse_conf_worker_threads ( const char *  cfgfile)

Enforcer specific

Definition at line 630 of file confparser.c.

References parse_conf_string().

§ parse_conf_working_dir()

const char* parse_conf_working_dir ( const char *  cfgfile)

Definition at line 454 of file confparser.c.

References parse_conf_string().

§ parse_conf_zonefetch_filename()

const char* parse_conf_zonefetch_filename ( const char *  cfgfile)

Definition at line 343 of file confparser.c.

References parse_conf_string().

§ parse_conf_zonelist_filename()

const char* parse_conf_zonelist_filename ( const char *  cfgfile)

Definition at line 326 of file confparser.c.

References parse_conf_string().

§ parse_file_check()

ods_status parse_file_check ( const char *  cfgfile,
const char *  rngfile 
)

Parsing configuration files. Check config file with rng file.

Parameters
[in]cfgfilethe configuration file name
[in]rngfilethe rng file name
Returns
ods_status status

Parse elements from the configuration file.

Definition at line 53 of file confparser.c.

References ods_log_error().