OpenDNSSEC-signer 1.2.1
|
#include "config.h"
#include "daemon/cfg.h"
#include "parser/confparser.h"
#include "util/file.h"
#include "util/log.h"
#include "util/se_malloc.h"
#include <errno.h>
#include <stdio.h>
#include <string.h>
Go to the source code of this file.
Functions | |
engineconfig_type * | engine_config (const char *cfgfile, int cmdline_verbosity) |
int | engine_check_config (engineconfig_type *config) |
void | engine_config_print (FILE *out, engineconfig_type *config) |
void | engine_config_cleanup (engineconfig_type *config) |
int engine_check_config | ( | engineconfig_type * | config | ) |
Check configuration.
Definition at line 103 of file cfg.c.
References se_log_error().
Referenced by engine_start().
engineconfig_type* engine_config | ( | const char * | cfgfile, |
int | cmdline_verbosity | ||
) |
Signer engine configuration. Configure engine.
Definition at line 51 of file cfg.c.
References engineconfig_struct::cfg_filename, engineconfig_struct::chroot, engineconfig_struct::clisock_filename, engineconfig_struct::group, engineconfig_struct::log_filename, engineconfig_struct::notify_command, engineconfig_struct::num_signer_threads, engineconfig_struct::num_worker_threads, 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_file_check(), engineconfig_struct::pid_filename, se_calloc(), se_fclose(), se_fopen(), se_free(), se_log_assert, se_log_error(), se_log_verbose(), se_strdup(), engineconfig_struct::use_syslog, engineconfig_struct::username, engineconfig_struct::verbosity, engineconfig_struct::working_dir, engineconfig_struct::zonefetch_filename, and engineconfig_struct::zonelist_filename.
Referenced by engine_start().
void engine_config_cleanup | ( | engineconfig_type * | config | ) |
Clean up engine configuration.
Definition at line 205 of file cfg.c.
References engineconfig_struct::cfg_filename, engineconfig_struct::chroot, engineconfig_struct::clisock_filename, engineconfig_struct::group, engineconfig_struct::log_filename, engineconfig_struct::notify_command, engineconfig_struct::pid_filename, se_free(), se_log_debug(), se_log_warning(), engineconfig_struct::username, engineconfig_struct::working_dir, engineconfig_struct::zonefetch_filename, and engineconfig_struct::zonelist_filename.
void engine_config_print | ( | FILE * | out, |
engineconfig_type * | config | ||
) |
Print configuration.
Definition at line 123 of file cfg.c.
References engineconfig_struct::chroot, engineconfig_struct::group, engineconfig_struct::log_filename, engineconfig_struct::notify_command, engineconfig_struct::num_signer_threads, engineconfig_struct::num_worker_threads, se_log_assert, se_log_debug(), engineconfig_struct::use_syslog, engineconfig_struct::username, engineconfig_struct::working_dir, engineconfig_struct::zonefetch_filename, and engineconfig_struct::zonelist_filename.
Referenced by engine_start().