rdataset.c revision 80b782f356f0692c11b4e52e8dd46ec41704e5a2
a66619fe32b9ac43b67f8fc635aec3cfea95fd91Curtis Blackburn * Copyright (C) 1999-2002 Internet Software Consortium.
a66619fe32b9ac43b67f8fc635aec3cfea95fd91Curtis Blackburn * Permission to use, copy, modify, and distribute this software for any
a66619fe32b9ac43b67f8fc635aec3cfea95fd91Curtis Blackburn * purpose with or without fee is hereby granted, provided that the above
a66619fe32b9ac43b67f8fc635aec3cfea95fd91Curtis Blackburn * copyright notice and this permission notice appear in all copies.
a66619fe32b9ac43b67f8fc635aec3cfea95fd91Curtis Blackburn * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
a66619fe32b9ac43b67f8fc635aec3cfea95fd91Curtis Blackburn * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
a66619fe32b9ac43b67f8fc635aec3cfea95fd91Curtis Blackburn * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
a66619fe32b9ac43b67f8fc635aec3cfea95fd91Curtis Blackburn * INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
a66619fe32b9ac43b67f8fc635aec3cfea95fd91Curtis Blackburn * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
a66619fe32b9ac43b67f8fc635aec3cfea95fd91Curtis Blackburn * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
a66619fe32b9ac43b67f8fc635aec3cfea95fd91Curtis Blackburn * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
a66619fe32b9ac43b67f8fc635aec3cfea95fd91Curtis Blackburn * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
a66619fe32b9ac43b67f8fc635aec3cfea95fd91Curtis Blackburn/* $Id: rdataset.c,v 1.67 2003/02/26 23:52:29 marka Exp $ */
a66619fe32b9ac43b67f8fc635aec3cfea95fd91Curtis Blackburndns_rdataset_init(dns_rdataset_t *rdataset) {
a66619fe32b9ac43b67f8fc635aec3cfea95fd91Curtis Blackburn * Make 'rdataset' a valid, disassociated rdataset.
return (ISC_TRUE);
return (ISC_FALSE);
static isc_result_t
return (ISC_R_NOMORE);
REQUIRE(0);
REQUIRE(0);
struct towire_sort {
int key;
static isc_result_t
isc_region_t r;
unsigned int headlen;
count = 0;
unsigned int ncache_opts = 0;
countp));
return (ISC_R_SUCCESS);
return (result);
if (!question &&
return (result);
for (i = 0; i < count; i++) {
for (i = 0; i < count; i++) {
for (i = 0; i < count; i++) {
if (j == count)
added = 0;
goto rollback;
if (!question)
goto rollback;
if (!question) {
if (shuffle)
goto rollback;
added++;
if (shuffle) {
if (i == count)
goto rollback;
return (ISC_R_SUCCESS);
return (result);
*countp = 0;
return (result);
void *order_arg,
unsigned int options,
unsigned int *countp)
void *order_arg,
unsigned int options,
unsigned int *countp,
void **state)
unsigned int options,
unsigned int *countp)
return (result);
return (result);
return (ISC_R_SUCCESS);