OpenDNSSEC-signer  1.4.8.2
Data Structures | Macros | Typedefs | Functions
notify.h File Reference
#include "config.h"
#include "shared/allocator.h"
#include "wire/acl.h"
#include "wire/buffer.h"
#include "wire/netio.h"
#include "wire/tsig.h"
#include <ldns/ldns.h>
Include dependency graph for notify.h:
This graph shows which files directly or indirectly include this file:

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_typenotify_create (void *xfrhandler, void *zone)
 
void notify_enable (notify_type *notify, ldns_rr *soa)
 
void notify_send (notify_type *notify)
 
void notify_cleanup (notify_type *notify)
 

Macro Definition Documentation

#define NOTIFY_MAX_RETRY   5

Definition at line 45 of file notify.h.

#define NOTIFY_MAX_UDP   50

Notify sending.

Definition at line 44 of file notify.h.

Referenced by notify_enable().

#define NOTIFY_RETRY_TIMEOUT   15

Definition at line 46 of file notify.h.

Referenced by notify_send().

Typedef Documentation

typedef struct notify_struct notify_type

Notify.

Definition at line 52 of file notify.h.

Function Documentation

void notify_cleanup ( notify_type notify)

Cleanup notify structure.

Parameters
[in]notifynotify structure.

Cleanup notify structure.

Definition at line 590 of file notify.c.

References notify_struct::allocator, allocator_cleanup(), allocator_deallocate(), netio_handler_struct::fd, notify_struct::handler, notify_struct::soa, notify_struct::tsig_rr, and tsig_rr_cleanup().

Referenced by notify_create(), and zone_cleanup().

notify_type* notify_create ( void *  xfrhandler,
void *  zone 
)
void notify_enable ( notify_type notify,
ldns_rr *  soa 
)
void notify_send ( notify_type notify)