OpenDNSSEC-signer  2.1.12
Functions
confparser.c File Reference
#include "config.h"
#include "compat.h"
#include "parser/confparser.h"
#include "parser/zonelistparser.h"
#include "log.h"
#include "status.h"
#include "wire/acl.h"
#include <libxml/xpath.h>
#include <libxml/relaxng.h>
#include <libxml/xmlreader.h>
#include <string.h>
#include <stdlib.h>
#include <sys/un.h>

Go to the source code of this file.

Functions

ods_status parse_file_check (const char *cfgfile, const char *rngfile)
 
hsm_repository_t * parse_conf_repositories (const char *cfgfile)
 
listener_typeparse_conf_listener (const char *cfgfile)
 
const char * parse_conf_string (const char *cfgfile, const char *expr, int required)
 
const char * parse_conf_zonelist_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_notify_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)
 
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_signer_threads (const char *cfgfile)
 

Function Documentation

◆ parse_conf_chroot()

const char* parse_conf_chroot ( const char *  cfgfile)

Definition at line 590 of file confparser.c.

References parse_conf_string().

◆ parse_conf_clisock_filename()

const char* parse_conf_clisock_filename ( const char *  cfgfile)

Definition at line 513 of file confparser.c.

References parse_conf_string().

◆ parse_conf_group()

const char* parse_conf_group ( const char *  cfgfile)

Definition at line 573 of file confparser.c.

References parse_conf_string().

◆ parse_conf_listener()

listener_type* parse_conf_listener ( const char *  cfgfile)

Parse the listener interfaces.

Definition at line 252 of file confparser.c.

◆ parse_conf_log_filename()

const char* parse_conf_log_filename ( const char *  cfgfile)

Definition at line 457 of file confparser.c.

References parse_conf_string().

◆ parse_conf_notify_command()

const char* parse_conf_notify_command ( const char *  cfgfile)

Definition at line 496 of file confparser.c.

References parse_conf_string().

◆ parse_conf_pid_filename()

const char* parse_conf_pid_filename ( const char *  cfgfile)

Signer specific

Definition at line 477 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 143 of file confparser.c.

◆ parse_conf_signer_threads()

int parse_conf_signer_threads ( const char *  cfgfile)

Definition at line 658 of file confparser.c.

References parse_conf_string(), and parse_conf_worker_threads().

◆ 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.

Definition at line 611 of file confparser.c.

References parse_conf_string().

◆ parse_conf_username()

const char* parse_conf_username ( const char *  cfgfile)

Definition at line 556 of file confparser.c.

References parse_conf_string().

◆ parse_conf_verbosity()

int parse_conf_verbosity ( const char *  cfgfile)

Definition at line 624 of file confparser.c.

References parse_conf_string().

◆ parse_conf_worker_threads()

int parse_conf_worker_threads ( const char *  cfgfile)

Signer specific

Definition at line 641 of file confparser.c.

References parse_conf_string().

Referenced by parse_conf_signer_threads().

◆ parse_conf_working_dir()

const char* parse_conf_working_dir ( const char *  cfgfile)

Definition at line 536 of file confparser.c.

References parse_conf_string().

◆ parse_conf_zonelist_filename()

const char* parse_conf_zonelist_filename ( const char *  cfgfile)

Parse elements from the configuration file.

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

Definition at line 418 of file confparser.c.

References parse_conf_string().

◆ parse_file_check()

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

Parse elements from the configuration file.

Definition at line 55 of file confparser.c.

Referenced by engine_config().