OpenDNSSEC-signer
1.3.14
|
#include "config.h"
#include "shared/log.h"
#include "shared/privdrop.h"
#include "tools/toolutil.h"
#include "tools/zone_fetcher.h"
#include <arpa/inet.h>
#include <errno.h>
#include <fcntl.h>
#include <getopt.h>
#include <signal.h>
#include <syslog.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <libxml/tree.h>
#include <libxml/parser.h>
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
#include <libxml/relaxng.h>
#include <libxml/xmlreader.h>
#include <libxml/xmlsave.h>
Go to the source code of this file.
Macros | |
#define | DNS_SERIAL_GT(a, b) ((int)(((a) - (b)) & 0xFFFFFFFF) > 0) |
Functions | |
ldns_resolver * | init_xfrd (config_type *config) |
int | tools_zone_fetcher (const char *config_file, const char *zonelist_file, const char *group, const char *user, const char *chroot, const char *log_file, int use_syslog, int verbosity) |
#define DNS_SERIAL_GT | ( | a, | |
b | |||
) | ((int)(((a) - (b)) & 0xFFFFFFFF) > 0) |
Definition at line 52 of file zone_fetcher.c.
ldns_resolver* init_xfrd | ( | config_type * | config) |
Definition at line 58 of file zone_fetcher.c.
References DNS_PORT_STRING, serverlist_struct::family, serverlist_struct::ipaddr, serverlist_struct::next, ods_log_error(), serverlist_struct::port, config_struct::serverlist, config_struct::tsig_algo, config_struct::tsig_name, config_struct::tsig_secret, and config_struct::use_tsig.
int tools_zone_fetcher | ( | const char * | config_file, |
const char * | zonelist_file, | ||
const char * | group, | ||
const char * | user, | ||
const char * | chroot, | ||
const char * | log_file, | ||
int | use_syslog, | ||
int | verbosity | ||
) |
Start zone fetcher.
Definition at line 1495 of file zone_fetcher.c.
References zfzonelist_struct::input_file, lookup_serial(), zfzonelist_struct::name, zfzonelist_struct::next, config_struct::notifylist, ods_log_alert(), ods_log_close(), ods_log_debug(), ods_log_error(), ods_log_info(), ods_log_init(), ods_log_warning(), config_struct::pidfile, privclose(), privdrop(), config_struct::serverlist, config_struct::zonelist, and config_struct::zonelist_file.