opt_41.c revision bf555703f27295798de30fa8c04d727410788f66
/*
* Copyright (C) 1998, 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: opt_41.c,v 1.1 1999/09/01 20:50:04 halley Exp $ */
#ifndef RDATA_GENERIC_OPT_41_C
#define RDATA_GENERIC_OPT_41_C
static inline dns_result_t
{
/*
* OPT records do not have a text format.
*/
(void)rdclass;
(void)lexer;
(void)origin;
(void)downcase;
(void)target;
return (DNS_R_NOTIMPLEMENTED);
}
static inline dns_result_t
{
/*
* OPT records do not have a text format.
*/
(void)tctx;
(void)target;
return (DNS_R_NOTIMPLEMENTED);
}
static inline dns_result_t
{
unsigned int total;
(void)rdclass;
(void)dctx;
(void)downcase;
total = 0;
return (DNS_R_UNEXPECTEDEND);
total += 4;
return (DNS_R_UNEXPECTEDEND);
}
return (DNS_R_NOSPACE);
return (DNS_R_SUCCESS);
}
static inline dns_result_t
(void)cctx;
}
static inline int
}
static inline dns_result_t
{
(void)rdclass;
(void)source;
(void)target;
return (DNS_R_NOTIMPLEMENTED);
}
static inline dns_result_t
(void)target;
(void)mctx;
return (DNS_R_NOTIMPLEMENTED);
}
static inline void
freestruct_opt(void *source) {
(void)source;
}
static inline dns_result_t
void *arg)
{
(void)add;
(void)arg;
return (DNS_R_SUCCESS);
}
static inline dns_result_t
/*
* OPT records are not digested.
*/
(void)digest;
(void)arg;
return (DNS_R_NOTIMPLEMENTED);
}
#endif /* RDATA_GENERIC_OPT_41_C */