Remove building with NOCRYPTO option
[minix.git] / external / bsd / bind / dist / lib / dns / rdatalist_p.h
blob0fd770bd20aa8d463a34e3a55b4421b6dd2cd1ec
1 /* $NetBSD: rdatalist_p.h,v 1.4 2014/12/10 04:37:58 christos Exp $ */
3 /*
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
25 /*! \file */
27 #include <isc/result.h>
28 #include <dns/types.h>
30 ISC_LANG_BEGINDECLS
32 void
33 isc__rdatalist_disassociate(dns_rdataset_t *rdatasetp);
35 isc_result_t
36 isc__rdatalist_first(dns_rdataset_t *rdataset);
38 isc_result_t
39 isc__rdatalist_next(dns_rdataset_t *rdataset);
41 void
42 isc__rdatalist_current(dns_rdataset_t *rdataset, dns_rdata_t *rdata);
44 void
45 isc__rdatalist_clone(dns_rdataset_t *source, dns_rdataset_t *target);
47 unsigned int
48 isc__rdatalist_count(dns_rdataset_t *rdataset);
50 isc_result_t
51 isc__rdatalist_addnoqname(dns_rdataset_t *rdataset, dns_name_t *name);
53 isc_result_t
54 isc__rdatalist_getnoqname(dns_rdataset_t *rdataset, dns_name_t *name,
55 dns_rdataset_t *neg, dns_rdataset_t *negsig);
57 isc_result_t
58 isc__rdatalist_addclosest(dns_rdataset_t *rdataset, dns_name_t *name);
60 isc_result_t
61 isc__rdatalist_getclosest(dns_rdataset_t *rdataset, dns_name_t *name,
62 dns_rdataset_t *neg, dns_rdataset_t *negsig);
64 ISC_LANG_ENDDECLS
66 #endif /* DNS_RDATALIST_P_H */