2N/A * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 2N/A * Use is subject to license terms. 2N/A * Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC") 2N/A * Permission to use, copy, modify, and/or distribute this software for any 2N/A * purpose with or without fee is hereby granted, provided that the above 2N/A * copyright notice and this permission notice appear in all copies. 2N/A * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 2N/A * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 2N/A * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 2N/A * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 2N/A * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 2N/A * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 2N/A * PERFORMANCE OF THIS SOFTWARE. 2N/A/* Initialize a "newmsg" object to empty. 2N/A/* Initialize a "newmsg" object by copying an existing parsed message. 2N/A/* Set the message-ID in a "newmsg" object. 2N/A/* Set a flag (including rcode or opcode) in a "newmsg" object. 2N/A/* Add a question (or zone, if it's an update) to a "newmsg" object. 2N/A/* Add an RR to a "newmsg" object. 2N/A/* Complete a "newmsg" object and return its size for use in write(). 2N/A * (Note: the "newmsg" object is also made ready for ns_parserr() etc.) 2N/A/* Copy an RDATA, using compression pointers where RFC1035 permits. 2N/A /* Serial, Refresh, Retry, Expiry, and Minimum. */ 2N/A /* PTRDNAME, CNAME, or NSDNAME. */