confrrset.c revision 292031c9fc4d26bfff35d3cbb9b77217c66c39cd
a7038d1a0513c8e804937ebc95fc9cb3a46c04f5Mark Andrews * Copyright (C) 1999 Internet Software Consortium.
bf43fdafa3bff9e84cb03f1a19aca74514d2516eBob Halley * Permission to use, copy, modify, and distribute this software for any
bf43fdafa3bff9e84cb03f1a19aca74514d2516eBob Halley * purpose with or without fee is hereby granted, provided that the above
bf43fdafa3bff9e84cb03f1a19aca74514d2516eBob Halley * copyright notice and this permission notice appear in all copies.
15a44745412679c30a6d022733925af70a38b715David Lawrence * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
15a44745412679c30a6d022733925af70a38b715David Lawrence * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
15a44745412679c30a6d022733925af70a38b715David Lawrence * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
15a44745412679c30a6d022733925af70a38b715David Lawrence * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
15a44745412679c30a6d022733925af70a38b715David Lawrence * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
15a44745412679c30a6d022733925af70a38b715David Lawrence * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
15a44745412679c30a6d022733925af70a38b715David Lawrence * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halleydns_c_rrsolist_clear(isc_log_t *lctx, dns_c_rrsolist_t *olist)
92ef1a9b9dbd48ecb507b42ac62c15afefdaf838David Lawrencedns_c_rrsolist_append(isc_log_t *lctx, dns_c_rrsolist_t *dest,
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews res = dns_c_rrso_copy(lctx, dest->mem, &newelem, oldelem);
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews ISC_LIST_APPEND(dest->elements, newelem, next);
23e4260821eefa5019808e18e14e2b366461aad7Brian Wellingtondns_c_rrsolist_new(isc_log_t *lctx, isc_mem_t *mem, dns_c_rrsolist_t **rval)
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrencedns_c_rrso_new(isc_log_t *lctx, isc_mem_t *mem, dns_c_rrso_t **res,
76c8294c81fb48b1da6e1fc5b83322a4cedb8e58Andreas Gustafsson dns_rdatatype_t otype, char *name, dns_c_ordering_t ordering)
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsdns_c_rrsolist_delete(isc_log_t *lctx, dns_c_rrsolist_t **list)
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrewsdns_c_rrso_delete(isc_log_t *lctx, dns_c_rrso_t **order)
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrewsdns_c_rrso_copy(isc_log_t *lctx, isc_mem_t *mem, dns_c_rrso_t **dest,
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington res = dns_c_rrso_new(lctx, mem, &newo, source->oclass,
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellingtondns_c_rrsolist_copy(isc_log_t *lctx, isc_mem_t *mem, dns_c_rrsolist_t **dest,
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington res = dns_c_rrsolist_new(lctx, mem, &nlist);
94766449d6125cd5870891b70d46573e5deaceb4Brian Wellington res = dns_c_rrso_copy(lctx, mem, &newe, elem);
18b7133679efa8f60fd4e396c628576f3f416b3eBrian Wellington ISC_LIST_APPEND(nlist->elements, newe, next);
48ed268b3378a8b729a0037bc4ae2ed73647a96aBrian Wellingtondns_c_rrsolist_print(isc_log_t *lctx, FILE *fp, int indent,
9cd6710f91bdffef5aed68ab02533e398f6134d7Brian Wellington dns_c_rrso_print(lctx, fp, indent + 1, or);
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsdns_c_rrso_print(isc_log_t *lctx, FILE *fp, int indent, dns_c_rrso_t *order)
48ed268b3378a8b729a0037bc4ae2ed73647a96aBrian Wellington dns_c_dataclass_tostream(lctx, fp, order->oclass);
8839b6acbf816fedc15b8e9e1c71fd606a9cd8eaBrian Wellington dns_c_datatype_tostream(lctx, fp, order->otype);