rt_21.c revision a4ed9791ed94e50ef92025d097d498b8a5bf55d7
/*
* Copyright (C) 1999, 2000 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: rt_21.c,v 1.16 2000/03/16 23:51:09 brister Exp $ */
/* reviewed: Thu Mar 16 15:02:31 PST 2000 by brister */
/* RFC 1183 */
#ifndef RDATA_GENERIC_RT_21_C
#define RDATA_GENERIC_RT_21_C
static inline isc_result_t
{
}
static inline isc_result_t
{
char buf[sizeof "64000"];
unsigned short num;
}
static inline isc_result_t
{
else
return (DNS_R_NOSPACE);
return (DNS_R_UNEXPECTEDEND);
}
static inline isc_result_t
{
else
return (DNS_R_NOSPACE);
}
static inline int
{
int result;
if (result != 0)
}
static inline isc_result_t
{
return (DNS_R_NOTIMPLEMENTED);
}
static inline isc_result_t
{
return (DNS_R_NOTIMPLEMENTED);
}
static inline void
freestruct_rt(void *source)
{
}
static inline isc_result_t
void *arg)
{
if (result != ISC_R_SUCCESS)
return (result);
if (result != ISC_R_SUCCESS)
return (result);
}
static inline isc_result_t
{
if (result != ISC_R_SUCCESS)
return (result);
}
#endif /* RDATA_GENERIC_RT_21_C */