#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. |
Definition in file callbacks.h.
#define DNS_CALLBACKS_H 1 |
Definition at line 21 of file callbacks.h.
#define DNS_CALLBACK_MAGIC ISC_MAGIC('C','L','L','B') |
#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().
void dns_rdatacallbacks_init | ( | dns_rdatacallbacks_t * | callbacks | ) |
Initialize 'callbacks'.
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().