OpenDNSSEC-signer 1.2.1
|
#include "parser/confparser.h"
#include "util/log.h"
#include "util/se_malloc.h"
#include <libxml/xpath.h>
#include <libxml/relaxng.h>
#include <libxml/xmlreader.h>
#include <string.h>
#include <stdlib.h>
Go to the source code of this file.
Functions | |
int | 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_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_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_worker_threads (const char *cfgfile) |
int | parse_conf_signer_threads (const char *cfgfile) |
const char* parse_conf_chroot | ( | const char * | cfgfile | ) |
Definition at line 291 of file confparser.c.
References parse_conf_string().
Referenced by engine_config().
const char* parse_conf_clisock_filename | ( | const char * | cfgfile | ) |
Definition at line 250 of file confparser.c.
References parse_conf_string(), and se_strdup().
Referenced by engine_config().
const char* parse_conf_group | ( | const char * | cfgfile | ) |
Definition at line 283 of file confparser.c.
References parse_conf_string().
Referenced by engine_config().
const char* parse_conf_log_filename | ( | const char * | cfgfile | ) |
Definition at line 213 of file confparser.c.
References parse_conf_string().
Referenced by engine_config().
const char* parse_conf_notify_command | ( | const char * | cfgfile | ) |
Definition at line 241 of file confparser.c.
References parse_conf_string().
Referenced by engine_config().
const char* parse_conf_pid_filename | ( | const char * | cfgfile | ) |
Signer specific
Definition at line 228 of file confparser.c.
References parse_conf_string(), and se_strdup().
Referenced by engine_config().
int parse_conf_signer_threads | ( | const char * | cfgfile | ) |
Definition at line 335 of file confparser.c.
References parse_conf_string(), and se_free().
Referenced by engine_config().
const char* parse_conf_string | ( | const char * | cfgfile, |
const char * | expr, | ||
int | required | ||
) |
Parse elements from the configuration file.
Definition at line 137 of file confparser.c.
References se_log_assert, and se_log_error().
Referenced by parse_conf_chroot(), parse_conf_clisock_filename(), parse_conf_group(), parse_conf_log_filename(), parse_conf_notify_command(), parse_conf_pid_filename(), parse_conf_signer_threads(), parse_conf_use_syslog(), parse_conf_username(), parse_conf_worker_threads(), parse_conf_working_dir(), parse_conf_zonefetch_filename(), parse_conf_zonelist_filename(), parse_sc_audit(), parse_sc_dnskey_ttl(), parse_sc_dnskey_ttl_use(), parse_sc_nsec3_algorithm(), parse_sc_nsec3_iterations(), parse_sc_nsec3_optout(), parse_sc_nsec3_salt(), parse_sc_nsec_type(), parse_sc_sig_inception_offset(), parse_sc_sig_jitter(), parse_sc_sig_refresh_interval(), parse_sc_sig_resign_interval(), parse_sc_sig_validity_default(), parse_sc_sig_validity_denial(), parse_sc_soa_min(), parse_sc_soa_min_use(), parse_sc_soa_serial(), parse_sc_soa_ttl(), and parse_sc_soa_ttl_use().
int parse_conf_use_syslog | ( | const char * | cfgfile | ) |
Parse elements from the configuration file.
Definition at line 304 of file confparser.c.
References parse_conf_string(), and se_free().
Referenced by engine_config().
const char* parse_conf_username | ( | const char * | cfgfile | ) |
Definition at line 275 of file confparser.c.
References parse_conf_string().
Referenced by engine_config().
int parse_conf_worker_threads | ( | const char * | cfgfile | ) |
Signer specific
Definition at line 318 of file confparser.c.
References parse_conf_string(), and se_free().
Referenced by engine_config().
const char* parse_conf_working_dir | ( | const char * | cfgfile | ) |
Definition at line 262 of file confparser.c.
References parse_conf_string(), and se_strdup().
Referenced by engine_config().
const char* parse_conf_zonefetch_filename | ( | const char * | cfgfile | ) |
Definition at line 204 of file confparser.c.
References parse_conf_string().
Referenced by engine_config().
const char* parse_conf_zonelist_filename | ( | const char * | cfgfile | ) |
Parse elements from the configuration file.
[in] | cfgfile | the configuration file name |
Definition at line 195 of file confparser.c.
References parse_conf_string().
Referenced by engine_config().
int parse_file_check | ( | const char * | cfgfile, |
const char * | rngfile | ||
) |
Parsing configuration files. Parse elements from the configuration file.
Definition at line 50 of file confparser.c.
References se_log_assert, se_log_debug(), and se_log_error().
Referenced by engine_config(), signconf_read(), and zonelist_read().