408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellington/*
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * Copyright (C) 2000, 2001, 2004, 2005, 2007, 2008, 2015, 2016 Internet Systems Consortium, Inc. ("ISC")
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellington *
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * This Source Code Form is subject to the terms of the Mozilla Public
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * License, v. 2.0. If a copy of the MPL was not distributed with this
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * file, You can obtain one at http://mozilla.org/MPL/2.0/.
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellington */
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellington
3398334b3acda24b086957286288ca9852662b12Automatic Updater/* $Id: rdatalist_p.h,v 1.11 2008/09/25 04:02:38 tbox Exp $ */
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellington
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellington#ifndef DNS_RDATALIST_P_H
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellington#define DNS_RDATALIST_P_H
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellington
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein/*! \file */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellington#include <isc/result.h>
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellington#include <dns/types.h>
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellington
408633bd04e39e50951d6800f8bbc9838adac6d1Brian WellingtonISC_LANG_BEGINDECLS
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellington
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellingtonvoid
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellingtonisc__rdatalist_disassociate(dns_rdataset_t *rdatasetp);
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellington
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellingtonisc_result_t
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellingtonisc__rdatalist_first(dns_rdataset_t *rdataset);
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellington
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellingtonisc_result_t
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellingtonisc__rdatalist_next(dns_rdataset_t *rdataset);
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellington
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellingtonvoid
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellingtonisc__rdatalist_current(dns_rdataset_t *rdataset, dns_rdata_t *rdata);
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellington
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellingtonvoid
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellingtonisc__rdatalist_clone(dns_rdataset_t *source, dns_rdataset_t *target);
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellington
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellingtonunsigned int
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellingtonisc__rdatalist_count(dns_rdataset_t *rdataset);
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellington
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsisc_result_t
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsisc__rdatalist_addnoqname(dns_rdataset_t *rdataset, dns_name_t *name);
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsisc_result_t
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsisc__rdatalist_getnoqname(dns_rdataset_t *rdataset, dns_name_t *name,
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews dns_rdataset_t *neg, dns_rdataset_t *negsig);
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrewsisc_result_t
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrewsisc__rdatalist_addclosest(dns_rdataset_t *rdataset, dns_name_t *name);
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrewsisc_result_t
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrewsisc__rdatalist_getclosest(dns_rdataset_t *rdataset, dns_name_t *name,
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews dns_rdataset_t *neg, dns_rdataset_t *negsig);
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrewsvoid
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrewsisc__rdatalist_setownercase(dns_rdataset_t *rdataset, const dns_name_t *name);
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrews
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrewsvoid
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrewsisc__rdatalist_getownercase(const dns_rdataset_t *rdataset, dns_name_t *name);
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrews
408633bd04e39e50951d6800f8bbc9838adac6d1Brian WellingtonISC_LANG_ENDDECLS
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellington
408633bd04e39e50951d6800f8bbc9838adac6d1Brian Wellington#endif /* DNS_RDATALIST_P_H */