* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at https://mozilla.org/MPL/2.0/.
* See the COPYRIGHT file distributed with this work for additional
* information regarding copyright ownership.
dns_order_create(isc_mem_t *mctx, dns_order_t **orderp);
* \li 'orderp' to be non NULL and '*orderp == NULL'.
dns_order_add(dns_order_t *order, dns_name_t *name,
dns_rdatatype_t rdtype, dns_rdataclass_t rdclass,
* Add a entry to the end of the order list.
* \li 'order' to be valid.
*\li 'mode' to be one of #DNS_RDATASETATTR_RANDOMIZE,
* #DNS_RDATASETATTR_FIXEDORDER or zero (#DNS_RDATASETATTR_CYCLIC).
dns_order_find(dns_order_t *order, dns_name_t *name,
dns_rdatatype_t rdtype, dns_rdataclass_t rdclass);
* Find the first matching entry on the list.
*\li 'order' to be valid.
* Returns the mode set by dns_order_add() or zero.
dns_order_attach(dns_order_t *source, dns_order_t **target);
* Attach to the 'source' object.
* \li 'source' to be valid.
*\li 'target' to be non NULL and '*target == NULL'.
dns_order_detach(dns_order_t **orderp);
* Detach from the object. Clean up if last this was the last
*\li '*orderp' to be valid.