add_rr_prepare_ctx_t Struct Reference

Prepare an RR for the addition of the new RR 'ctx->update_rr', with TTL 'ctx->update_rr_ttl', to its rdataset, by deleting the RRs if it is replaced by the new RR or has a conflicting TTL. The necessary changes are appended to ctx->del_diff and ctx->add_diff; we need to do all deletions before any additions so that we don't run into transient states with conflicting TTLs. More...


Data Fields

dns_db_tdb
dns_dbversion_tver
dns_diff_tdiff
dns_name_tname
dns_name_toldname
dns_rdata_tupdate_rr
dns_ttl_t update_rr_ttl
isc_boolean_t ignore_add
dns_diff_t del_diff
dns_diff_t add_diff


Detailed Description

Prepare an RR for the addition of the new RR 'ctx->update_rr', with TTL 'ctx->update_rr_ttl', to its rdataset, by deleting the RRs if it is replaced by the new RR or has a conflicting TTL. The necessary changes are appended to ctx->del_diff and ctx->add_diff; we need to do all deletions before any additions so that we don't run into transient states with conflicting TTLs.

Definition at line 236 of file update.c.


Field Documentation

dns_db_t* add_rr_prepare_ctx_t::db

Definition at line 237 of file update.c.

Referenced by update_action().

dns_dbversion_t* add_rr_prepare_ctx_t::ver

Definition at line 238 of file update.c.

Referenced by update_action().

dns_diff_t* add_rr_prepare_ctx_t::diff

Definition at line 239 of file update.c.

Referenced by update_action().

dns_name_t* add_rr_prepare_ctx_t::name

Definition at line 240 of file update.c.

Referenced by add_rr_prepare_action(), and update_action().

dns_name_t* add_rr_prepare_ctx_t::oldname

Definition at line 241 of file update.c.

Referenced by add_rr_prepare_action(), foreach_rr(), and update_action().

dns_rdata_t* add_rr_prepare_ctx_t::update_rr

Definition at line 242 of file update.c.

Referenced by add_rr_prepare_action(), and update_action().

dns_ttl_t add_rr_prepare_ctx_t::update_rr_ttl

Definition at line 243 of file update.c.

Referenced by add_rr_prepare_action(), and update_action().

isc_boolean_t add_rr_prepare_ctx_t::ignore_add

Definition at line 244 of file update.c.

Referenced by add_rr_prepare_action(), and update_action().

dns_diff_t add_rr_prepare_ctx_t::del_diff

Definition at line 245 of file update.c.

Referenced by add_rr_prepare_action(), and update_action().

dns_diff_t add_rr_prepare_ctx_t::add_diff

Definition at line 246 of file update.c.

Referenced by add_rr_prepare_action(), and update_action().


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