nxt_30.c revision 8d3e74b1683f714a484bbcf73249e8ee470e36d7
/*
* Copyright (C) 1999 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
* ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
* CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
* DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
* PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
* ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
* SOFTWARE.
*/
/* $Id: nxt_30.c,v 1.3 1999/02/04 06:38:43 marka Exp $ */
/* RFC 2065 */
#ifndef RDATA_GENERIC_NXT_30_H
#define RDATA_GENERIC_NXT_30_H
static dns_result_t
char *e;
unsigned int n;
/* next domain */
while (1) {
ISC_TRUE));
break;
if (*e == 0)
(void) NULL;
else if (dns_rdatatype_fromtext(&covered,
return (DNS_R_UNKNOWN);
}
if (first)
return (DNS_R_SUCCESS);
}
static dns_result_t
char buf[sizeof "65535"];
unsigned int i, j;
for (j = 0; j < 8; j++)
i * 8 + j, target);
if (result == DNS_R_SUCCESS) {
target));
continue;
}
if (result != DNS_R_UNKNOWN)
return (result);
}
}
}
static dns_result_t
return (DNS_R_EXTRADATA);
return (DNS_R_SUCCESS);
}
static dns_result_t
}
static int
int result;
if (result != 0)
return (result);
}
static dns_result_t
isc_buffer_t *target) {
return (DNS_R_NOTIMPLEMENTED);
}
static dns_result_t
return (DNS_R_NOTIMPLEMENTED);
}
#endif /* RDATA_GENERIC_NXT_30_H */