bin/named/update.c
/*%
 * We abuse the dns_diff_t type to represent a set of domain names
 * affected by the update.
 */
%
We abuse the dns_diff_t type to represent a set of domain names
affected by the update.
% We abuse the dns_diff_t type to represent a set of domain names affected by the update .
static isc_result_t
namelist_append_name(dns_diff_t *list, dns_name_t *name) {
	isc_result_t result;
	dns_difftuple_t *tuple = NULL;
	static dns_rdata_t dummy_rdata = DNS_RDATA_INIT;
	CHECK(dns_difftuple_create(list->mctx, DNS_DIFFOP_EXISTS, name, 0,
				   &dummy_rdata, &tuple));
	dns_diff_append(list, &tuple);
 failure:
	return (result);
}
static isc_result_t namelist_append_name ( dns_diff_t * list , dns_name_t * name ) { isc_result_t result ; dns_difftuple_t * tuple = NULL ; static dns_rdata_t dummy_rdata = DNS_RDATA_INIT ; CHECK ( dns_difftuple_create ( list -> mctx , DNS_DIFFOP_EXISTS , name , 0 , & dummy_rdata , & tuple ) ) ; dns_diff_append ( list , & tuple ) ; failure : return ( result ) ; }
%
 We abuse the dns_diff_t type to represent a set of domain names
 affected by the update.
% We abuse the dns_diff_t type to represent a set of domain names affected by the update .