OpenDNSSEC-signer
1.3.4
|
#include <arpa/inet.h>
#include <netdb.h>
#include <netinet/in.h>
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/select.h>
#include <sys/socket.h>
#include <unistd.h>
#include "config.h"
Go to the source code of this file.
Data Structures | |
union | acl_addr_storage |
struct | serverlist_struct |
struct | zfzonelist_struct |
struct | config_struct |
struct | odd_socket |
struct | sockets_struct |
struct | handle_udp_userdata |
struct | handle_tcp_userdata |
Defines | |
#define | DNS_PORT_STRING "53" |
#define | INBUF_SIZE 4096 /* max size for incoming queries */ |
#define | MAX_INTERFACES 128 |
Typedefs | |
typedef struct serverlist_struct | serverlist_type |
typedef struct zfzonelist_struct | zfzonelist_type |
typedef struct config_struct | config_type |
typedef struct sockets_struct | sockets_type |
Functions | |
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_PORT_STRING "53" |
Definition at line 46 of file zone_fetcher.h.
Referenced by init_xfrd().
#define INBUF_SIZE 4096 /* max size for incoming queries */ |
Definition at line 47 of file zone_fetcher.h.
#define MAX_INTERFACES 128 |
Definition at line 48 of file zone_fetcher.h.
typedef struct config_struct config_type |
Config.
Definition at line 86 of file zone_fetcher.h.
typedef struct serverlist_struct serverlist_type |
Servers.
Definition at line 61 of file zone_fetcher.h.
typedef struct sockets_struct sockets_type |
Definition at line 109 of file zone_fetcher.h.
typedef struct zfzonelist_struct zfzonelist_type |
Zone list.
Definition at line 74 of file zone_fetcher.h.
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.