rdataset.c revision ca67883a666bdf314d3da958d5195e7215b1f797
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * Copyright (C) 1999 Internet Software Consortium.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * Permission to use, copy, modify, and distribute this software for any
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * purpose with or without fee is hereby granted, provided that the above
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * copyright notice and this permission notice appear in all copies.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedydns_rdataset_init(dns_rdataset_t *rdataset) {
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * Make 'rdataset' a valid, disassociated rdataset.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedydns_rdataset_invalidate(dns_rdataset_t *rdataset) {
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * Invalidate 'rdataset'.
unsigned int *countp)
isc_region_t r;
unsigned int count;
unsigned int headlen;
if (no_rdata_or_ttl) {
count = 0;
return (result);
if (!no_rdata_or_ttl)
return (DNS_R_NOSPACE);
if (!no_rdata_or_ttl) {
target);
return (result);
return (result);
count++;
return (result);
return (DNS_R_SUCCESS);