15185a700Sflorian /* 25185a700Sflorian * Copyright (C) Internet Systems Consortium, Inc. ("ISC") 35185a700Sflorian * 45185a700Sflorian * Permission to use, copy, modify, and/or distribute this software for any 55185a700Sflorian * purpose with or without fee is hereby granted, provided that the above 65185a700Sflorian * copyright notice and this permission notice appear in all copies. 75185a700Sflorian * 85185a700Sflorian * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 95185a700Sflorian * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 105185a700Sflorian * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 115185a700Sflorian * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 125185a700Sflorian * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 135185a700Sflorian * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 145185a700Sflorian * PERFORMANCE OF THIS SOFTWARE. 155185a700Sflorian */ 165185a700Sflorian 17*4008b4f7Sflorian /* $Id: rdatalist_p.h,v 1.3 2022/06/25 10:20:29 florian Exp $ */ 185185a700Sflorian 195185a700Sflorian #ifndef DNS_RDATALIST_P_H 205185a700Sflorian #define DNS_RDATALIST_P_H 215185a700Sflorian 225185a700Sflorian /*! \file */ 235185a700Sflorian 245185a700Sflorian #include <isc/result.h> 255185a700Sflorian #include <dns/types.h> 265185a700Sflorian 275185a700Sflorian void 285185a700Sflorian isc__rdatalist_disassociate(dns_rdataset_t *rdatasetp); 295185a700Sflorian 305185a700Sflorian isc_result_t 315185a700Sflorian isc__rdatalist_first(dns_rdataset_t *rdataset); 325185a700Sflorian 335185a700Sflorian isc_result_t 345185a700Sflorian isc__rdatalist_next(dns_rdataset_t *rdataset); 355185a700Sflorian 365185a700Sflorian void 375185a700Sflorian isc__rdatalist_current(dns_rdataset_t *rdataset, dns_rdata_t *rdata); 385185a700Sflorian 395185a700Sflorian void 405185a700Sflorian isc__rdatalist_clone(dns_rdataset_t *source, dns_rdataset_t *target); 415185a700Sflorian 425185a700Sflorian unsigned int 435185a700Sflorian isc__rdatalist_count(dns_rdataset_t *rdataset); 445185a700Sflorian 455185a700Sflorian #endif /* DNS_RDATALIST_P_H */ 46