cert_37.c revision 3ddd92da6651bc72aa79a04195ad389d86fd1a66
/*
* 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: cert_37.c,v 1.15 1999/09/17 09:22:40 gson Exp $ */
#ifndef RDATA_GENERIC_CERT_37_C
#define RDATA_GENERIC_CERT_37_C
static inline dns_result_t
{
long n;
char *e;
/* cert type */
/* key tag */
return (DNS_R_RANGE);
/* algorithm */
}
static inline dns_result_t
{
char buf[sizeof "64000 "];
unsigned int n;
/* type */
n = uint16_fromregion(&sr);
/* key tag */
n = uint16_fromregion(&sr);
/* algorithm */
/* cert */
return (DNS_R_SUCCESS);
}
static inline dns_result_t
{
return (DNS_R_UNEXPECTEDEND);
}
static inline dns_result_t
}
static inline int
}
static inline dns_result_t
{
return (DNS_R_NOTIMPLEMENTED);
}
static inline dns_result_t
return (DNS_R_NOTIMPLEMENTED);
}
static inline void
freestruct_cert(void *target) {
}
static inline dns_result_t
void *arg)
{
(void)add;
(void)arg;
return (DNS_R_SUCCESS);
}
static inline dns_result_t
isc_region_t r;
dns_rdata_toregion(rdata, &r);
}
#endif /* RDATA_GENERIC_CERT_37_C */