OpenDNSSEC-signer
2.1.10
|
#include "config.h"
#include <ldns/ldns.h>
#include "status.h"
#include "wire/acl.h"
#include "wire/buffer.h"
#include "wire/netio.h"
#include "wire/tsig.h"
#include "daemon/xfrhandler.h"
#include "signer/zone.h"
Go to the source code of this file.
Data Structures | |
struct | notify_struct |
Macros | |
#define | NOTIFY_MAX_UDP 50 |
#define | NOTIFY_MAX_RETRY 5 |
#define | NOTIFY_RETRY_TIMEOUT 15 |
Typedefs | |
typedef struct notify_struct | notify_type |
Functions | |
notify_type * | notify_create (xfrhandler_type *xfrhandler, zone_type *zone) |
void | notify_enable (notify_type *notify, ldns_rr *soa) |
void | notify_send (notify_type *notify) |
void | notify_cleanup (notify_type *notify) |
typedef struct notify_struct notify_type |
void notify_cleanup | ( | notify_type * | notify | ) |
Cleanup notify structure.
[in] | notify | notify structure. |
Cleanup notify structure.
Definition at line 600 of file notify.c.
References netio_handler_struct::fd, notify_struct::handler, notify_struct::soa, notify_struct::tsig_rr, and tsig_rr_cleanup().
Referenced by zone_cleanup().
notify_type* notify_create | ( | xfrhandler_type * | xfrhandler, |
zone_type * | zone | ||
) |
void notify_enable | ( | notify_type * | notify, |
ldns_rr * | soa | ||
) |
Enable notify.
[in] | notify | notify structure |
[in] | soa | current soa |
Enable notify.
Definition at line 544 of file notify.c.
References ADAPTER_DNS, zone_struct::adoutbound, adapter_struct::config, dnsout_struct::do_notify, zone_struct::name, adapter_struct::type, notify_struct::xfrhandler, and notify_struct::zone.
void notify_send | ( | notify_type * | notify | ) |
Send notify.
[in] | notify | notify structure |
Send notify.
Definition at line 422 of file notify.c.
References acl_struct::address, netio_handler_struct::fd, notify_struct::handler, zone_struct::name, notify_struct::secondary, notify_struct::timeout, notify_struct::xfrhandler, and notify_struct::zone.