2N/A * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 2N/A * Use is subject to license terms. 2N/A * As of BIND 8.2.2, ISC (a) removed res_mkupdate(), res_update(), and 2N/A * res_mkupdrec() from what they consider the supported interface. The 2N/A * functions still exist, but their calling interface has changed, since 2N/A * the ns_updrec structure has changed. 2N/A * It seems probable that res_mkupdate() etc. will return, though possibly 2N/A * with other changes, in some future BIND release. In order to avoid 2N/A * going to PSARC twice (once to remove the functions, and then again to 2N/A * add them back), we retain the old interface as a wrapper around the 2N/A/* get the Solaris ns_updrec before any renaming happens */ 2N/A/* get the __ISC_ns_updrec */ 2N/A/* un-rename ns_updrec and res_* functions so we can wrap them */ 2N/A /* XXX r_prev and r_next unchanged */ 2N/A /* res_update and res_nupdate want r_glink set up like this */ 2N/A /* Note: freeing r_dp is the caller's responsibility. */