|
OpenDNSSEC-signer 2.1.13
|
#include "config.h"#include "daemon/cfg.h"#include "daemon/engine.h"#include "duration.h"#include "file.h"#include "str.h"#include "hsm.h"#include "locks.h"#include "log.h"#include "privdrop.h"#include "status.h"#include "util.h"#include "signer/zonelist.h"#include "wire/tsig.h"#include "libhsm.h"#include "signertasks.h"#include "signercommands.h"#include <ctype.h>#include <errno.h>#include <libxml/parser.h>#include <signal.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <strings.h>#include <sys/socket.h>#include <sys/types.h>#include <sys/un.h>#include <time.h>#include <unistd.h>Go to the source code of this file.
Functions | |
| void | engine_wakeup_workers (engine_type *engine) |
| void | engine_update_zones (engine_type *engine, ods_status zl_changed) |
| int | engine_start (const char *cfgfile, int cmdline_verbosity, int daemonize, int info) |
| void | engine_cleanup (engine_type *engine) |
| void engine_cleanup | ( | engine_type * | engine | ) |
Clean up engine.
Definition at line 889 of file engine.c.
References dnshandler_cleanup(), engine_config_cleanup(), xfrhandler_cleanup(), and zonelist_cleanup().
Referenced by engine_start().
| int engine_start | ( | const char * | cfgfile, |
| int | cmdline_verbosity, | ||
| int | daemonize, | ||
| int | info ) |
Start engine.
Definition at line 768 of file engine.c.
References engine_cleanup(), engine_config(), engine_config_check(), engine_config_print(), engine_update_zones(), tsig_handler_cleanup(), and zonelist_update().
Referenced by main().
| void engine_update_zones | ( | engine_type * | engine, |
| ods_status | zl_changed ) |
Update zones.
Definition at line 617 of file engine.c.
References adapter_load_config(), zone_struct::adinbound, zone_struct::adoutbound, dnshandler_fwd_notify(), engine_wakeup_workers(), xfrd_struct::handler, zone_struct::name, netio_remove_handler(), zone_struct::notify_command, zone_struct::notify_ns, ODS_SE_NOTIFY_CMD, zone_struct::xfrd, zone_struct::zl_status, zone_cleanup(), zone_struct::zone_lock, ZONE_ZL_ADDED, ZONE_ZL_OK, ZONE_ZL_REMOVED, and zonelist_del_zone().
Referenced by engine_start().
| void engine_wakeup_workers | ( | engine_type * | engine | ) |