isdn_20.c revision e27a69f8bd9538e08f775265167ba6cc5f47c587
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * Copyright (C) 1999 Internet Software Consortium.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * Permission to use, copy, modify, and distribute this software for any
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * purpose with or without fee is hereby granted, provided that the above
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * copyright notice and this permission notice appear in all copies.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy /* $Id: isdn_20.c,v 1.9 1999/08/31 22:05:53 halley Exp $ */
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy /* RFC 1183 */
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedyfromtext_isdn(dns_rdataclass_t rdclass, dns_rdatatype_t type,
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy isc_boolean_t downcase, isc_buffer_t *target)
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy /* ISDN-address */
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy RETERR(gettoken(lexer, &token, isc_tokentype_qstring, ISC_FALSE));
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy RETERR(txt_fromtext(&token.value.as_textregion, target));
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy /* sa: optional */
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy RETERR(gettoken(lexer, &token, isc_tokentype_qstring, ISC_TRUE));
1d32ba663e202c24a5a1f2e5aef83fffb447cb7fJohn Wren Kennedy return (txt_fromtext(&token.value.as_textregion, target));
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedytotext_isdn(dns_rdata_t *rdata, dns_rdata_textctx_t *tctx,
return (DNS_R_SUCCESS);
static inline dns_result_t
return (DNS_R_SUCCESS);
static inline dns_result_t
static inline dns_result_t
return (DNS_R_NOTIMPLEMENTED);
static inline dns_result_t
return (DNS_R_NOTIMPLEMENTED);
static inline dns_result_t
void *arg)
(void)add;
(void)arg;
return (DNS_R_SUCCESS);
static inline dns_result_t
isc_region_t r;