callbacks.h File Reference

#include <isc/lang.h>
#include <isc/magic.h>
#include <dns/types.h>

Go to the source code of this file.

Data Structures

struct  dns_rdatacallbacks

Defines

#define DNS_CALLBACKS_H   1
#define DNS_CALLBACK_MAGIC   ISC_MAGIC('C','L','L','B')
#define DNS_CALLBACK_VALID(cb)   ISC_MAGIC_VALID(cb, DNS_CALLBACK_MAGIC)

Functions

void dns_rdatacallbacks_init (dns_rdatacallbacks_t *callbacks)
 Initialize 'callbacks'.
void dns_rdatacallbacks_init_stdio (dns_rdatacallbacks_t *callbacks)
 Like dns_rdatacallbacks_init, but logs to stdio.


Detailed Description

Definition in file callbacks.h.


Define Documentation

#define DNS_CALLBACKS_H   1

Definition at line 21 of file callbacks.h.

#define DNS_CALLBACK_MAGIC   ISC_MAGIC('C','L','L','B')

Definition at line 40 of file callbacks.h.

Referenced by dns_rdatacallbacks_initcommon().

#define DNS_CALLBACK_VALID ( cb   )     ISC_MAGIC_VALID(cb, DNS_CALLBACK_MAGIC)

Definition at line 41 of file callbacks.h.

Referenced by beginload(), dns_db_beginload(), dns_db_endload(), and endload().


Function Documentation

void dns_rdatacallbacks_init ( dns_rdatacallbacks_t callbacks  ) 

Initialize 'callbacks'.

Requires:

Definition at line 104 of file callbacks.c.

References dns_rdatacallbacks_initcommon(), dns_rdatacallbacks::error, isclog_error_callback(), isclog_warn_callback(), and dns_rdatacallbacks::warn.

Referenced by axfr_init(), createnode(), db_load_from_stream(), dns_db_load3(), dns_rootns_create(), parse_rdata(), and zone_startload().

void dns_rdatacallbacks_init_stdio ( dns_rdatacallbacks_t callbacks  ) 

Like dns_rdatacallbacks_init, but logs to stdio.

Definition at line 111 of file callbacks.c.

References dns_rdatacallbacks_initcommon(), dns_rdatacallbacks::error, stdio_error_warn_callback(), and dns_rdatacallbacks::warn.

Referenced by setup_master().


Generated on Tue Apr 28 17:41:09 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha