rdatalist_p.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2004, 2005, 2007, 2008, 2015  Internet Systems Consortium, Inc. ("ISC")
00003  * Copyright (C) 2000, 2001  Internet Software Consortium.
00004  *
00005  * Permission to use, copy, modify, and/or distribute this software for any
00006  * purpose with or without fee is hereby granted, provided that the above
00007  * copyright notice and this permission notice appear in all copies.
00008  *
00009  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
00010  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
00011  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
00012  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
00013  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
00014  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
00015  * PERFORMANCE OF THIS SOFTWARE.
00016  */
00017 
00018 /* $Id: rdatalist_p.h,v 1.11 2008/09/25 04:02:38 tbox Exp $ */
00019 
00020 #ifndef DNS_RDATALIST_P_H
00021 #define DNS_RDATALIST_P_H
00022 
00023 /*! \file */
00024 
00025 #include <isc/result.h>
00026 #include <dns/types.h>
00027 
00028 ISC_LANG_BEGINDECLS
00029 
00030 void
00031 isc__rdatalist_disassociate(dns_rdataset_t *rdatasetp);
00032 
00033 isc_result_t
00034 isc__rdatalist_first(dns_rdataset_t *rdataset);
00035 
00036 isc_result_t
00037 isc__rdatalist_next(dns_rdataset_t *rdataset);
00038 
00039 void
00040 isc__rdatalist_current(dns_rdataset_t *rdataset, dns_rdata_t *rdata);
00041 
00042 void
00043 isc__rdatalist_clone(dns_rdataset_t *source, dns_rdataset_t *target);
00044 
00045 unsigned int
00046 isc__rdatalist_count(dns_rdataset_t *rdataset);
00047 
00048 isc_result_t
00049 isc__rdatalist_addnoqname(dns_rdataset_t *rdataset, dns_name_t *name);
00050 
00051 isc_result_t
00052 isc__rdatalist_getnoqname(dns_rdataset_t *rdataset, dns_name_t *name,
00053                           dns_rdataset_t *neg, dns_rdataset_t *negsig);
00054 
00055 isc_result_t
00056 isc__rdatalist_addclosest(dns_rdataset_t *rdataset, dns_name_t *name);
00057 
00058 isc_result_t
00059 isc__rdatalist_getclosest(dns_rdataset_t *rdataset, dns_name_t *name,
00060                           dns_rdataset_t *neg, dns_rdataset_t *negsig);
00061 
00062 void
00063 isc__rdatalist_setownercase(dns_rdataset_t *rdataset, const dns_name_t *name);
00064 
00065 void
00066 isc__rdatalist_getownercase(const dns_rdataset_t *rdataset, dns_name_t *name);
00067 
00068 ISC_LANG_ENDDECLS
00069 
00070 #endif /* DNS_RDATALIST_P_H */

Generated on Tue Apr 28 17:41:00 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha