2N/A * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC") 2N/A * Copyright (c) 1996-1999 by Internet Software Consortium. 2N/A * Permission to use, copy, modify, and 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 2N/A * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 2N/A * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR 2N/A * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 2N/A * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 2N/A * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT 2N/A * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 2N/A "0123456789ABCDEFGHIJKLMNOPQRSTUV=0123456789abcdefghijklmnopqrstuv";
2N/A * Convert an RR to presentation format. 2N/A *\li Number of characters written to buf, or -1 (check errno). 2N/A * Convert the fields of an RR into presentation format. 2N/A *\li Number of characters written to buf, or -1 (check errno). 2N/A /* Origin not used or not root, and no trailing dot? */ 2N/A /* Second word, optional in ISDN records. */ 2N/A /* Administrator name. */ 2N/A /* Serial number. */ 2N/A /* Refresh interval. */ 2N/A /* Retry interval. */ 2N/A /* XXX protocol format checking? */ 2N/A /* Order, Precedence. */ 2N/A /* Priority, Weight, Port. */ 2N/A /* Key flags, Protocol, Algorithm. */ 2N/A /* Public key data. */ 2N/A for (n = 0; n <
len; n +=
48) {
2N/A /* Type covered, Algorithm, Label count, Original TTL. */ 2N/A /* Signature expiry. */ 2N/A /* Signature Footprint. */ 2N/A /* Signer's name. */ 2N/A for (n = 0; n <
len; n +=
48) {
2N/A /* Next domain name. */ 2N/A for (c = 0; c < n*
8; c++)
2N/A const char *
str =
"record too long to print";
2N/A for (n = 0; n <
len; n +=
48) {
2N/A /* KJD - need to complete this */ 2N/A /* Algorithm name. */ 2N/A /* Mode , Error, Key Size. */ 2N/A /* Priority, Weight, Port. */ 2N/A /* XXX need to dump key, print otherdata length & other data */ 2N/A /* BEW - need to complete this */ 2N/A /* address suffix: provided only when prefix len != 128 */ 2N/A /* prefix name: provided only when prefix len > 0 */ 2N/A for (j = 0; j < l; j++) {
2N/A for (k = 0; k <
8; k++) {
2N/A c = w *
256 + j *
8 + k;
2N/A for (j = 0; j < l; j++) {
2N/A for (k = 0; k <
8; k++) {
2N/A c = w *
256 + j *
8 + k;
2N/A const char *
str =
"record too long to print";
2N/A for (n = 0; n <
len; n +=
48) {
2N/A const char *
str =
"record too long to print";
2N/A for (n = 0; n <
len; n +=
48) {
2N/A const char *
str =
"record too long to print";
2N/A for (m = 0; m < n; m++)
2N/A for (m = 0; m < n; m++)
2N/A * prune_origin(name, origin) 2N/A * Find out if the name is at or under the current origin. 2N/A * Number of characters in name before start of origin, 2N/A * or length of name if origin does not match. 2N/A * This function should share code with samedomain(). 2N/A /* XXX need to handle \nnn form. */ 2N/A * charstr(rdata, edata, buf, buflen) 2N/A * Format a <character-string> into the presentation buffer. 2N/A * Number of rdata octets consumed 2N/A * 0 for protocol format error 2N/A * -1 for output buffer error 2N/A * buffer is advanced on success. 2N/A /* Use "@" instead of name. */ 2N/A /* No trailing dot. */