Commit 0e8cf9a8 authored by Mark Andrews's avatar Mark Andrews
Browse files

Style updates.

cvs: ----------------------------------------------------------------------
parent b420577e
/*
* Copyright (C) 1998 Internet Software Consortium.
* 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
......@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: rdata.c,v 1.34 1999/02/16 02:54:17 marka Exp $ */
/* $Id: rdata.c,v 1.35 1999/02/16 22:42:23 marka Exp $ */
#include <config.h>
......@@ -27,11 +27,11 @@
#include <isc/lex.h>
#include <isc/assertions.h>
#include <isc/error.h>
#include <isc/region.h>
#include <dns/types.h>
#include <dns/result.h>
#include <dns/rdata.h>
#include <dns/region.h>
#include <dns/rdataclass.h>
#include <dns/rdatatype.h>
#include <dns/rcode.h>
......@@ -159,7 +159,7 @@ static const char octdigits[] = "01234567";
{ 0, NULL, 0}
struct tbl {
static struct tbl {
unsigned int value;
char *name;
int flags;
......@@ -224,9 +224,9 @@ dns_rdata_compare(dns_rdata_t *rdata1, dns_rdata_t *rdata2) {
***/
void
dns_rdata_fromregion(dns_rdata_t *rdata,
dns_rdataclass_t class, dns_rdatatype_t type,
isc_region_t *r) {
dns_rdata_fromregion(dns_rdata_t *rdata, dns_rdataclass_t class,
dns_rdatatype_t type, isc_region_t *r)
{
REQUIRE(rdata != NULL);
REQUIRE(r != NULL);
......@@ -248,12 +248,11 @@ dns_rdata_toregion(dns_rdata_t *rdata, isc_region_t *r) {
}
dns_result_t
dns_rdata_fromwire(dns_rdata_t *rdata,
dns_rdataclass_t class, dns_rdatatype_t type,
isc_buffer_t *source,
dns_decompress_t *dctx,
isc_boolean_t downcase,
isc_buffer_t *target) {
dns_rdata_fromwire(dns_rdata_t *rdata, dns_rdataclass_t class,
dns_rdatatype_t type, isc_buffer_t *source,
dns_decompress_t *dctx, isc_boolean_t downcase,
isc_buffer_t *target)
{
dns_result_t result = DNS_R_NOTIMPLEMENTED;
isc_region_t region;
isc_buffer_t ss;
......@@ -266,6 +265,7 @@ dns_rdata_fromwire(dns_rdata_t *rdata,
ss = *source;
st = *target;
/* XXX */
region.base = (unsigned char *)(target->base) + target->used;
FROMWIRESWITCH
......@@ -291,7 +291,8 @@ dns_rdata_fromwire(dns_rdata_t *rdata,
dns_result_t
dns_rdata_towire(dns_rdata_t *rdata, dns_compress_t *cctx,
isc_buffer_t *target) {
isc_buffer_t *target)
{
dns_result_t result = DNS_R_NOTIMPLEMENTED;
isc_boolean_t use_default = ISC_FALSE;
isc_region_t tr;
......@@ -313,12 +314,11 @@ dns_rdata_towire(dns_rdata_t *rdata, dns_compress_t *cctx,
}
dns_result_t
dns_rdata_fromtext(dns_rdata_t *rdata,
dns_rdataclass_t class, dns_rdatatype_t type,
isc_lex_t *lexer, dns_name_t *origin,
isc_boolean_t downcase,
isc_buffer_t *target,
dns_rdatacallbacks_t *callbacks) {
dns_rdata_fromtext(dns_rdata_t *rdata, dns_rdataclass_t class,
dns_rdatatype_t type, isc_lex_t *lexer,
dns_name_t *origin, isc_boolean_t downcase,
isc_buffer_t *target, dns_rdatacallbacks_t *callbacks)
{
dns_result_t result = DNS_R_NOTIMPLEMENTED;
isc_region_t region;
isc_buffer_t st;
......@@ -428,10 +428,10 @@ dns_rdata_totext(dns_rdata_t *rdata, dns_name_t *origin,
}
dns_result_t
dns_rdata_fromstruct(dns_rdata_t *rdata,
dns_rdataclass_t class, dns_rdatatype_t type,
void *source,
isc_buffer_t *target) {
dns_rdata_fromstruct(dns_rdata_t *rdata, dns_rdataclass_t class,
dns_rdatatype_t type, void *source,
isc_buffer_t *target)
{
dns_result_t result = DNS_R_NOTIMPLEMENTED;
isc_buffer_t st;
isc_region_t region;
......@@ -659,7 +659,7 @@ txt_totext(isc_region_t *source, isc_buffer_t *target) {
n = *sp++;
INSIST(n + 1 <= source->length);
REQUIRE(n + 1 <= source->length);
if (tl < 1)
return (DNS_R_NOSPACE);
......@@ -835,7 +835,8 @@ uint16_fromregion(isc_region_t *region) {
static dns_result_t
gettoken(isc_lex_t *lexer, isc_token_t *token, isc_tokentype_t expect,
isc_boolean_t eol) {
isc_boolean_t eol)
{
unsigned int options = ISC_LEXOPT_EOL | ISC_LEXOPT_EOF |
ISC_LEXOPT_DNSMULTILINE;
isc_result_t result;
......
......@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: tsig_250.c,v 1.4 1999/02/15 05:44:15 marka Exp $ */
/* $Id: tsig_250.c,v 1.5 1999/02/16 22:42:23 marka Exp $ */
/* draft-ietf-dnsind-tsig-07.txt */
......@@ -273,7 +273,8 @@ compare_any_tsig(dns_rdata_t *rdata1, dns_rdata_t *rdata2) {
static dns_result_t
fromstruct_any_tsig(dns_rdataclass_t class, dns_rdatatype_t type,
void *source, isc_buffer_t *target) {
void *source, isc_buffer_t *target)
{
REQUIRE(type == 250);
REQUIRE(class == 255);
......
......@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: tsig_250.h,v 1.4 1999/02/15 05:44:15 marka Exp $ */
/* $Id: tsig_250.h,v 1.5 1999/02/16 22:42:23 marka Exp $ */
/* draft-ietf-dnsind-tsig-07.txt */
......@@ -273,7 +273,8 @@ compare_any_tsig(dns_rdata_t *rdata1, dns_rdata_t *rdata2) {
static dns_result_t
fromstruct_any_tsig(dns_rdataclass_t class, dns_rdatatype_t type,
void *source, isc_buffer_t *target) {
void *source, isc_buffer_t *target)
{
REQUIRE(type == 250);
REQUIRE(class == 255);
......
......@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: afsdb_18.c,v 1.2 1999/02/15 05:44:15 marka Exp $ */
/* $Id: afsdb_18.c,v 1.3 1999/02/16 22:42:23 marka Exp $ */
/* RFC 1183 */
......@@ -25,7 +25,8 @@
static dns_result_t
fromtext_afsdb(dns_rdataclass_t class, dns_rdatatype_t type,
isc_lex_t *lexer, dns_name_t *origin,
isc_boolean_t downcase, isc_buffer_t *target) {
isc_boolean_t downcase, isc_buffer_t *target)
{
isc_token_t token;
isc_buffer_t buffer;
dns_name_t name;
......@@ -52,21 +53,21 @@ totext_afsdb(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) {
dns_name_t name;
dns_name_t prefix;
isc_region_t region;
char buf[sizeof "64000"];
char buf[sizeof "64000 "];
isc_boolean_t sub;
unsigned int num;
REQUIRE(rdata->type == 18);
dns_name_init(&name, NULL);
dns_name_init(&prefix, NULL);
dns_rdata_toregion(rdata, &region);
num = uint16_fromregion(&region);
isc_region_consume(&region, 2);
sprintf(buf, "%u", num);
sprintf(buf, "%u ", num);
RETERR(str_totext(buf, target));
RETERR(str_totext(" ", target));
dns_name_fromregion(&name, &region);
sub = name_prefix(&name, origin, &prefix);
return(dns_name_totext(&prefix, sub, target));
......@@ -74,8 +75,9 @@ totext_afsdb(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) {
static dns_result_t
fromwire_afsdb(dns_rdataclass_t class, dns_rdatatype_t type,
isc_buffer_t *source, dns_decompress_t *dctx,
isc_boolean_t downcase, isc_buffer_t *target) {
isc_buffer_t *source, dns_decompress_t *dctx,
isc_boolean_t downcase, isc_buffer_t *target)
{
dns_name_t name;
isc_region_t sr;
isc_region_t tr;
......@@ -153,7 +155,8 @@ compare_afsdb(dns_rdata_t *rdata1, dns_rdata_t *rdata2) {
static dns_result_t
fromstruct_afsdb(dns_rdataclass_t class, dns_rdatatype_t type, void *source,
isc_buffer_t *target) {
isc_buffer_t *target)
{
REQUIRE(type == 18);
......
......@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: afsdb_18.h,v 1.2 1999/02/15 05:44:15 marka Exp $ */
/* $Id: afsdb_18.h,v 1.3 1999/02/16 22:42:23 marka Exp $ */
/* RFC 1183 */
......@@ -25,7 +25,8 @@
static dns_result_t
fromtext_afsdb(dns_rdataclass_t class, dns_rdatatype_t type,
isc_lex_t *lexer, dns_name_t *origin,
isc_boolean_t downcase, isc_buffer_t *target) {
isc_boolean_t downcase, isc_buffer_t *target)
{
isc_token_t token;
isc_buffer_t buffer;
dns_name_t name;
......@@ -52,21 +53,21 @@ totext_afsdb(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) {
dns_name_t name;
dns_name_t prefix;
isc_region_t region;
char buf[sizeof "64000"];
char buf[sizeof "64000 "];
isc_boolean_t sub;
unsigned int num;
REQUIRE(rdata->type == 18);
dns_name_init(&name, NULL);
dns_name_init(&prefix, NULL);
dns_rdata_toregion(rdata, &region);
num = uint16_fromregion(&region);
isc_region_consume(&region, 2);
sprintf(buf, "%u", num);
sprintf(buf, "%u ", num);
RETERR(str_totext(buf, target));
RETERR(str_totext(" ", target));
dns_name_fromregion(&name, &region);
sub = name_prefix(&name, origin, &prefix);
return(dns_name_totext(&prefix, sub, target));
......@@ -74,8 +75,9 @@ totext_afsdb(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) {
static dns_result_t
fromwire_afsdb(dns_rdataclass_t class, dns_rdatatype_t type,
isc_buffer_t *source, dns_decompress_t *dctx,
isc_boolean_t downcase, isc_buffer_t *target) {
isc_buffer_t *source, dns_decompress_t *dctx,
isc_boolean_t downcase, isc_buffer_t *target)
{
dns_name_t name;
isc_region_t sr;
isc_region_t tr;
......@@ -153,7 +155,8 @@ compare_afsdb(dns_rdata_t *rdata1, dns_rdata_t *rdata2) {
static dns_result_t
fromstruct_afsdb(dns_rdataclass_t class, dns_rdatatype_t type, void *source,
isc_buffer_t *target) {
isc_buffer_t *target)
{
REQUIRE(type == 18);
......
......@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: cert_37.c,v 1.4 1999/02/05 00:05:46 marka Exp $ */
/* $Id: cert_37.c,v 1.5 1999/02/16 22:42:24 marka Exp $ */
/* draft-ietf-dnssec-certs-04.txt */
......@@ -61,7 +61,8 @@ fromtext_cert(dns_rdataclass_t class, dns_rdatatype_t type,
RETERR(gettoken(lexer, &token, isc_tokentype_string, ISC_FALSE));
n = strtol(token.value.as_pointer, &e, 10);
if (*e != 0) {
RETERR(dns_secalg_fromtext(&secalg, &token.value.as_textregion));
RETERR(dns_secalg_fromtext(&secalg,
&token.value.as_textregion));
} else {
if (n < 0 || n > 0xff)
return (DNS_R_RANGE);
......@@ -75,7 +76,7 @@ fromtext_cert(dns_rdataclass_t class, dns_rdatatype_t type,
static dns_result_t
totext_cert(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) {
isc_region_t sr;
char buf[sizeof "64000"];
char buf[sizeof "64000 "];
unsigned int n;
REQUIRE(rdata->type == 37);
......@@ -93,9 +94,8 @@ totext_cert(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) {
/* key tag */
n = uint16_fromregion(&sr);
isc_region_consume(&sr, 2);
sprintf(buf, "%u", n);
sprintf(buf, "%u ", n);
RETERR(str_totext(buf, target));
RETERR(str_totext(" ", target));
/* algorithm */
RETERR(dns_secalg_totext(sr.base[0], target));
......@@ -155,7 +155,8 @@ compare_cert(dns_rdata_t *rdata1, dns_rdata_t *rdata2) {
static dns_result_t
fromstruct_cert(dns_rdataclass_t class, dns_rdatatype_t type, void *source,
isc_buffer_t *target) {
isc_buffer_t *target)
{
REQUIRE(type == 37);
......
......@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: cert_37.h,v 1.4 1999/02/05 00:05:46 marka Exp $ */
/* $Id: cert_37.h,v 1.5 1999/02/16 22:42:24 marka Exp $ */
/* draft-ietf-dnssec-certs-04.txt */
......@@ -61,7 +61,8 @@ fromtext_cert(dns_rdataclass_t class, dns_rdatatype_t type,
RETERR(gettoken(lexer, &token, isc_tokentype_string, ISC_FALSE));
n = strtol(token.value.as_pointer, &e, 10);
if (*e != 0) {
RETERR(dns_secalg_fromtext(&secalg, &token.value.as_textregion));
RETERR(dns_secalg_fromtext(&secalg,
&token.value.as_textregion));
} else {
if (n < 0 || n > 0xff)
return (DNS_R_RANGE);
......@@ -75,7 +76,7 @@ fromtext_cert(dns_rdataclass_t class, dns_rdatatype_t type,
static dns_result_t
totext_cert(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) {
isc_region_t sr;
char buf[sizeof "64000"];
char buf[sizeof "64000 "];
unsigned int n;
REQUIRE(rdata->type == 37);
......@@ -93,9 +94,8 @@ totext_cert(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) {
/* key tag */
n = uint16_fromregion(&sr);
isc_region_consume(&sr, 2);
sprintf(buf, "%u", n);
sprintf(buf, "%u ", n);
RETERR(str_totext(buf, target));
RETERR(str_totext(" ", target));
/* algorithm */
RETERR(dns_secalg_totext(sr.base[0], target));
......@@ -155,7 +155,8 @@ compare_cert(dns_rdata_t *rdata1, dns_rdata_t *rdata2) {
static dns_result_t
fromstruct_cert(dns_rdataclass_t class, dns_rdatatype_t type, void *source,
isc_buffer_t *target) {
isc_buffer_t *target)
{
REQUIRE(type == 37);
......
......@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: cname_5.c,v 1.7 1999/02/15 05:44:16 marka Exp $ */
/* $Id: cname_5.c,v 1.8 1999/02/16 22:42:24 marka Exp $ */
#ifndef RDATA_GENERIC_CNAME_5_H
#define RDATA_GENERIC_CNAME_5_H
......@@ -23,12 +23,14 @@
static dns_result_t
fromtext_cname(dns_rdataclass_t class, dns_rdatatype_t type,
isc_lex_t *lexer, dns_name_t *origin,
isc_boolean_t downcase, isc_buffer_t *target) {
isc_boolean_t downcase, isc_buffer_t *target)
{
isc_token_t token;
dns_name_t name;
isc_buffer_t buffer;
REQUIRE(type == 5);
class = class; /*unused*/
RETERR(gettoken(lexer, &token, isc_tokentype_string, ISC_FALSE));
......@@ -63,10 +65,12 @@ totext_cname(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) {
static dns_result_t
fromwire_cname(dns_rdataclass_t class, dns_rdatatype_t type,
isc_buffer_t *source, dns_decompress_t *dctx,
isc_boolean_t downcase, isc_buffer_t *target) {
isc_boolean_t downcase, isc_buffer_t *target)
{
dns_name_t name;
REQUIRE(type == 5);
class = class; /*unused*/
dns_name_init(&name, NULL);
......@@ -112,7 +116,8 @@ compare_cname(dns_rdata_t *rdata1, dns_rdata_t *rdata2) {
static dns_result_t
fromstruct_cname(dns_rdataclass_t class, dns_rdatatype_t type, void *source,
isc_buffer_t *target) {
isc_buffer_t *target)
{
REQUIRE(type == 5);
......
......@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: cname_5.h,v 1.7 1999/02/15 05:44:16 marka Exp $ */
/* $Id: cname_5.h,v 1.8 1999/02/16 22:42:24 marka Exp $ */
#ifndef RDATA_GENERIC_CNAME_5_H
#define RDATA_GENERIC_CNAME_5_H
......@@ -23,12 +23,14 @@
static dns_result_t
fromtext_cname(dns_rdataclass_t class, dns_rdatatype_t type,
isc_lex_t *lexer, dns_name_t *origin,
isc_boolean_t downcase, isc_buffer_t *target) {
isc_boolean_t downcase, isc_buffer_t *target)
{
isc_token_t token;
dns_name_t name;
isc_buffer_t buffer;
REQUIRE(type == 5);
class = class; /*unused*/
RETERR(gettoken(lexer, &token, isc_tokentype_string, ISC_FALSE));
......@@ -63,10 +65,12 @@ totext_cname(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) {
static dns_result_t
fromwire_cname(dns_rdataclass_t class, dns_rdatatype_t type,
isc_buffer_t *source, dns_decompress_t *dctx,
isc_boolean_t downcase, isc_buffer_t *target) {
isc_boolean_t downcase, isc_buffer_t *target)
{
dns_name_t name;
REQUIRE(type == 5);
class = class; /*unused*/
dns_name_init(&name, NULL);
......@@ -112,7 +116,8 @@ compare_cname(dns_rdata_t *rdata1, dns_rdata_t *rdata2) {
static dns_result_t
fromstruct_cname(dns_rdataclass_t class, dns_rdatatype_t type, void *source,
isc_buffer_t *target) {
isc_buffer_t *target)
{
REQUIRE(type == 5);
......
......@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: gpos_27.c,v 1.1 1999/02/01 00:15:55 marka Exp $ */
/* $Id: gpos_27.c,v 1.2 1999/02/16 22:42:24 marka Exp $ */
/* RFC 1712 */
......@@ -24,8 +24,9 @@
static dns_result_t
fromtext_gpos(dns_rdataclass_t class, dns_rdatatype_t type,
isc_lex_t *lexer, dns_name_t *origin,
isc_boolean_t downcase, isc_buffer_t *target) {
isc_lex_t *lexer, dns_name_t *origin,
isc_boolean_t downcase, isc_buffer_t *target)
{
isc_token_t token;
int i;
......@@ -65,8 +66,9 @@ totext_gpos(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) {
static dns_result_t
fromwire_gpos(dns_rdataclass_t class, dns_rdatatype_t type,
isc_buffer_t *source, dns_decompress_t *dctx,
isc_boolean_t downcase, isc_buffer_t *target) {
isc_buffer_t *source, dns_decompress_t *dctx,
isc_boolean_t downcase, isc_buffer_t *target)
{
int i;
REQUIRE(type == 27);
......@@ -106,7 +108,8 @@ compare_gpos(dns_rdata_t *rdata1, dns_rdata_t *rdata2) {
static dns_result_t
fromstruct_gpos(dns_rdataclass_t class, dns_rdatatype_t type, void *source,
isc_buffer_t *target) {
isc_buffer_t *target)
{
REQUIRE(type == 27);
......
......@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: gpos_27.h,v 1.1 1999/02/01 00:15:55 marka Exp $ */
/* $Id: gpos_27.h,v 1.2 1999/02/16 22:42:24 marka Exp $ */
/* RFC 1712 */
......@@ -24,8 +24,9 @@
static dns_result_t
fromtext_gpos(dns_rdataclass_t class, dns_rdatatype_t type,
isc_lex_t *lexer, dns_name_t *origin,
isc_boolean_t downcase, isc_buffer_t *target) {
isc_lex_t *lexer, dns_name_t *origin,
isc_boolean_t downcase, isc_buffer_t *target)
{
isc_token_t token;
int i;
......@@ -65,8 +66,9 @@ totext_gpos(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) {
static dns_result_t
fromwire_gpos(dns_rdataclass_t class, dns_rdatatype_t type,
isc_buffer_t *source, dns_decompress_t *dctx,
isc_boolean_t downcase, isc_buffer_t *target) {
isc_buffer_t *source, dns_decompress_t *dctx,
isc_boolean_t downcase, isc_buffer_t *target)
{
int i;
REQUIRE(type == 27);
......@@ -106,7 +108,8 @@ compare_gpos(dns_rdata_t *rdata1, dns_rdata_t *rdata2) {
static dns_result_t
fromstruct_gpos(dns_rdataclass_t class, dns_rdatatype_t type, void *source,
isc_buffer_t *target) {
isc_buffer_t *target)
{
REQUIRE(type == 27);
......
......@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: hinfo_13.c,v 1.8 1999/01/22 05:02:44 marka Exp $ */
/* $Id: hinfo_13.c,v 1.9 1999/02/16 22:42:25 marka Exp $ */
#ifndef RDATA_GENERIC_HINFO_13_H
#define RDATA_GENERIC_HINFO_13_H
......@@ -23,7 +23,8 @@
static dns_result_t
fromtext_hinfo(dns_rdataclass_t class, dns_rdatatype_t type,
isc_lex_t *lexer, dns_name_t *origin,
isc_boolean_t downcase, isc_buffer_t *target) {
isc_boolean_t downcase, isc_buffer_t *target)
{
isc_token_t token;
int i;
......@@ -58,7 +59,8 @@ totext_hinfo(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) {
static dns_result_t
fromwire_hinfo(dns_rdataclass_t class, dns_rdatatype_t type,
isc_buffer_t *source, dns_decompress_t *dctx,
isc_boolean_t downcase, isc_buffer_t *target) {
isc_boolean_t downcase, isc_buffer_t *target)
{
REQUIRE(type == 13);
......@@ -96,7 +98,8 @@ compare_hinfo(dns_rdata_t *rdata1, dns_rdata_t *rdata2) {
static dns_result_t
fromstruct_hinfo(dns_rdataclass_t class, dns_rdatatype_t type, void *source,
isc_buffer_t *target) {
isc_buffer_t *target)
{
REQUIRE(type == 13);
......
......@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: hinfo_13.h,v 1.8 1999/01/22 05:02:44 marka Exp $ */
/* $Id: hinfo_13.h,v 1.9 1999/02/16 22:42:25 marka Exp $ */
#ifndef RDATA_GENERIC_HINFO_13_H
#define RDATA_GENERIC_HINFO_13_H
......@@ -23,7 +23,8 @@
static dns_result_t
fromtext_hinfo(dns_rdataclass_t class, dns_rdatatype_t type,
isc_lex_t *lexer, dns_name_t *origin,
isc_boolean_t downcase, isc_buffer_t *target) {
isc_boolean_t downcase, isc_buffer_t *target)