#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_t * | zone |
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 |
Definition at line 43 of file callbacks.h.
unsigned int dns_rdatacallbacks::magic |
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().
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_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().
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().
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().