rdatalist_p.h revision 408633bd04e39e50951d6800f8bbc9838adac6d1
/*
* Copyright (C) 1999, 2000 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
* DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
* INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
* FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: rdatalist_p.h,v 1.1 2000/08/21 22:17:14 bwelling Exp $ */
#ifndef DNS_RDATALIST_P_H
#define DNS_RDATALIST_P_H
#include <isc/result.h>
#include <dns/types.h>
ISC_LANG_BEGINDECLS
void
isc__rdatalist_disassociate(dns_rdataset_t *rdatasetp);
isc_result_t
isc__rdatalist_first(dns_rdataset_t *rdataset);
isc_result_t
isc__rdatalist_next(dns_rdataset_t *rdataset);
void
isc__rdatalist_current(dns_rdataset_t *rdataset, dns_rdata_t *rdata);
void
isc__rdatalist_clone(dns_rdataset_t *source, dns_rdataset_t *target);
unsigned int
isc__rdatalist_count(dns_rdataset_t *rdataset);
ISC_LANG_ENDDECLS
#endif /* DNS_RDATALIST_P_H */