1 /* $NetBSD: rdatalist_p.h,v 1.4 2014/12/10 04:37:58 christos Exp $ */
4 * Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
5 * Copyright (C) 2000, 2001 Internet Software Consortium.
7 * Permission to use, copy, modify, and/or distribute this software for any
8 * purpose with or without fee is hereby granted, provided that the above
9 * copyright notice and this permission notice appear in all copies.
11 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
12 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
13 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
14 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
15 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
16 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17 * PERFORMANCE OF THIS SOFTWARE.
20 /* Id: rdatalist_p.h,v 1.11 2008/09/25 04:02:38 tbox Exp */
22 #ifndef DNS_RDATALIST_P_H
23 #define DNS_RDATALIST_P_H
27 #include <isc/result.h>
28 #include <dns/types.h>
33 isc__rdatalist_disassociate(dns_rdataset_t
*rdatasetp
);
36 isc__rdatalist_first(dns_rdataset_t
*rdataset
);
39 isc__rdatalist_next(dns_rdataset_t
*rdataset
);
42 isc__rdatalist_current(dns_rdataset_t
*rdataset
, dns_rdata_t
*rdata
);
45 isc__rdatalist_clone(dns_rdataset_t
*source
, dns_rdataset_t
*target
);
48 isc__rdatalist_count(dns_rdataset_t
*rdataset
);
51 isc__rdatalist_addnoqname(dns_rdataset_t
*rdataset
, dns_name_t
*name
);
54 isc__rdatalist_getnoqname(dns_rdataset_t
*rdataset
, dns_name_t
*name
,
55 dns_rdataset_t
*neg
, dns_rdataset_t
*negsig
);
58 isc__rdatalist_addclosest(dns_rdataset_t
*rdataset
, dns_name_t
*name
);
61 isc__rdatalist_getclosest(dns_rdataset_t
*rdataset
, dns_name_t
*name
,
62 dns_rdataset_t
*neg
, dns_rdataset_t
*negsig
);
66 #endif /* DNS_RDATALIST_P_H */