dns_rdatacallbacks Struct Reference

#include <callbacks.h>


Data Fields

unsigned int magic
dns_addrdatasetfunc_t add
 dns_load_master calls this when it has rdatasets to commit.
dns_deserializefunc_t deserialize
 This is called when reading in a database image from a 'map' format zone file.
dns_rawdatafunc_t rawdata
 dns_master_load*() call this when loading a raw zonefile, to pass back information obtained from the file header
dns_zone_tzone
void(* error )(struct dns_rdatacallbacks *, const char *,...)
 dns_load_master / dns_rdata_fromtext call this to issue a error.
void(* warn )(struct dns_rdatacallbacks *, const char *,...)
 dns_load_master / dns_rdata_fromtext call this to issue a warning.
void * add_private
 Private data handles for use by the above callback functions.
void * deserialize_private
void * error_private
void * warn_private


Detailed Description

Definition at line 43 of file callbacks.h.


Field Documentation

unsigned int dns_rdatacallbacks::magic

Definition at line 44 of file callbacks.h.

Referenced by dns_rdatacallbacks_initcommon().

dns_addrdatasetfunc_t dns_rdatacallbacks::add

dns_load_master calls this when it has rdatasets to commit.

Definition at line 49 of file callbacks.h.

Referenced by axfr_apply(), beginload(), commit(), dns_rdatacallbacks_initcommon(), endload(), loadctx_create(), setup_master(), and xfrin_create().

dns_deserializefunc_t dns_rdatacallbacks::deserialize

This is called when reading in a database image from a 'map' format zone file.

Definition at line 55 of file callbacks.h.

Referenced by beginload(), endload(), and load_map().

dns_rawdatafunc_t dns_rdatacallbacks::rawdata

dns_master_load*() call this when loading a raw zonefile, to pass back information obtained from the file header

Definition at line 61 of file callbacks.h.

Referenced by dns_rdatacallbacks_initcommon(), load_raw(), setup_master(), and zone_startload().

dns_zone_t* dns_rdatacallbacks::zone

Definition at line 62 of file callbacks.h.

Referenced by dns_rdatacallbacks_initcommon(), load_raw(), setup_master(), zone_loaddone(), and zone_startload().

void(* dns_rdatacallbacks::error)(struct dns_rdatacallbacks *, const char *,...)

dns_load_master / dns_rdata_fromtext call this to issue a error.

Referenced by commit(), dns_rdata_fromtext(), dns_rdatacallbacks_init(), dns_rdatacallbacks_init_stdio(), generate(), gettoken(), load_header(), load_raw(), load_text(), loadctx_create(), and setup_master().

void(* dns_rdatacallbacks::warn)(struct dns_rdatacallbacks *, const char *,...)

dns_load_master / dns_rdata_fromtext call this to issue a warning.

Referenced by check_wildcard(), dns_rdata_fromtext(), dns_rdatacallbacks_init(), dns_rdatacallbacks_init_stdio(), fromtext_loc(), fromtext_warneof(), generate(), getquad(), limit_ttl(), load_text(), loadctx_create(), setup_master(), warn_badmx(), and warn_badname().

void* dns_rdatacallbacks::add_private

Private data handles for use by the above callback functions.

Definition at line 75 of file callbacks.h.

Referenced by axfr_apply(), beginload(), commit(), dns_db_endload(), dns_rdatacallbacks_initcommon(), endload(), maybe_free(), xfrin_create(), and xfrin_reset().

void* dns_rdatacallbacks::deserialize_private

Definition at line 76 of file callbacks.h.

Referenced by beginload(), endload(), and load_map().

void* dns_rdatacallbacks::error_private

Definition at line 77 of file callbacks.h.

Referenced by dns_rdatacallbacks_initcommon().

void* dns_rdatacallbacks::warn_private

Definition at line 78 of file callbacks.h.

Referenced by dns_rdatacallbacks_initcommon().


The documentation for this struct was generated from the following file:
Generated on Tue Apr 28 17:41:20 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha