From 0e8cf9a887c70f96ac448b06c069d90b830215cc Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 16 Feb 1999 22:42:33 +0000 Subject: [PATCH] Style updates. cvs: ---------------------------------------------------------------------- --- lib/dns/rdata.c | 53 +++++++++++++++--------------- lib/dns/rdata/any_255/tsig_250.c | 5 +-- lib/dns/rdata/any_255/tsig_250.h | 5 +-- lib/dns/rdata/generic/afsdb_18.c | 19 ++++++----- lib/dns/rdata/generic/afsdb_18.h | 19 ++++++----- lib/dns/rdata/generic/cert_37.c | 13 ++++---- lib/dns/rdata/generic/cert_37.h | 13 ++++---- lib/dns/rdata/generic/cname_5.c | 13 +++++--- lib/dns/rdata/generic/cname_5.h | 13 +++++--- lib/dns/rdata/generic/gpos_27.c | 15 +++++---- lib/dns/rdata/generic/gpos_27.h | 15 +++++---- lib/dns/rdata/generic/hinfo_13.c | 11 ++++--- lib/dns/rdata/generic/hinfo_13.h | 11 ++++--- lib/dns/rdata/generic/isdn_20.c | 13 +++++--- lib/dns/rdata/generic/isdn_20.h | 13 +++++--- lib/dns/rdata/generic/key_25.c | 15 +++++---- lib/dns/rdata/generic/key_25.h | 15 +++++---- lib/dns/rdata/generic/mb_7.c | 11 ++++--- lib/dns/rdata/generic/mb_7.h | 11 ++++--- lib/dns/rdata/generic/md_3.c | 11 ++++--- lib/dns/rdata/generic/md_3.h | 11 ++++--- lib/dns/rdata/generic/mf_4.c | 13 +++++--- lib/dns/rdata/generic/mf_4.h | 13 +++++--- lib/dns/rdata/generic/mg_8.c | 13 +++++--- lib/dns/rdata/generic/mg_8.h | 13 +++++--- lib/dns/rdata/generic/minfo_14.c | 13 +++++--- lib/dns/rdata/generic/minfo_14.h | 13 +++++--- lib/dns/rdata/generic/mr_9.c | 13 +++++--- lib/dns/rdata/generic/mr_9.h | 13 +++++--- lib/dns/rdata/generic/mx_15.c | 13 +++++--- lib/dns/rdata/generic/mx_15.h | 13 +++++--- lib/dns/rdata/generic/ns_2.c | 13 +++++--- lib/dns/rdata/generic/ns_2.h | 13 +++++--- lib/dns/rdata/generic/null_10.c | 11 ++++--- lib/dns/rdata/generic/null_10.h | 11 ++++--- lib/dns/rdata/generic/nxt_30.c | 15 +++++---- lib/dns/rdata/generic/nxt_30.h | 15 +++++---- lib/dns/rdata/generic/ptr_12.c | 11 ++++--- lib/dns/rdata/generic/ptr_12.h | 11 ++++--- lib/dns/rdata/generic/rp_17.c | 15 +++++---- lib/dns/rdata/generic/rp_17.h | 15 +++++---- lib/dns/rdata/generic/rt_21.c | 11 ++++--- lib/dns/rdata/generic/rt_21.h | 11 ++++--- lib/dns/rdata/generic/sig_24.c | 15 +++++---- lib/dns/rdata/generic/sig_24.h | 15 +++++---- lib/dns/rdata/generic/soa_6.c | 11 ++++--- lib/dns/rdata/generic/soa_6.h | 11 ++++--- lib/dns/rdata/generic/txt_16.c | 11 ++++--- lib/dns/rdata/generic/txt_16.h | 11 ++++--- lib/dns/rdata/generic/unspec_103.c | 5 +-- lib/dns/rdata/generic/unspec_103.h | 5 +-- lib/dns/rdata/generic/x25_19.c | 15 +++++---- lib/dns/rdata/generic/x25_19.h | 15 +++++---- lib/dns/rdata/in_1/a6_38.c | 8 +++-- lib/dns/rdata/in_1/a6_38.h | 8 +++-- lib/dns/rdata/in_1/a_1.c | 11 ++++--- lib/dns/rdata/in_1/a_1.h | 11 ++++--- lib/dns/rdata/in_1/aaaa_28.c | 15 +++++---- lib/dns/rdata/in_1/aaaa_28.h | 15 +++++---- lib/dns/rdata/in_1/kx_36.c | 15 +++++---- lib/dns/rdata/in_1/kx_36.h | 15 +++++---- lib/dns/rdata/in_1/naptr_35.c | 14 ++++---- lib/dns/rdata/in_1/naptr_35.h | 14 ++++---- lib/dns/rdata/in_1/nsap_22.c | 10 +++--- lib/dns/rdata/in_1/nsap_22.h | 10 +++--- lib/dns/rdata/in_1/wks_11.c | 16 +++++---- lib/dns/rdata/in_1/wks_11.h | 16 +++++---- 67 files changed, 531 insertions(+), 348 deletions(-) diff --git a/lib/dns/rdata.c b/lib/dns/rdata.c index 5bad54f67a..9e77caa7fb 100644 --- a/lib/dns/rdata.c +++ b/lib/dns/rdata.c @@ -1,5 +1,5 @@ /* - * 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 @@ -27,11 +27,11 @@ #include #include #include +#include #include #include #include -#include #include #include #include @@ -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; diff --git a/lib/dns/rdata/any_255/tsig_250.c b/lib/dns/rdata/any_255/tsig_250.c index 975881955b..a6b9409896 100644 --- a/lib/dns/rdata/any_255/tsig_250.c +++ b/lib/dns/rdata/any_255/tsig_250.c @@ -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); diff --git a/lib/dns/rdata/any_255/tsig_250.h b/lib/dns/rdata/any_255/tsig_250.h index b233dfe18a..d057a4c975 100644 --- a/lib/dns/rdata/any_255/tsig_250.h +++ b/lib/dns/rdata/any_255/tsig_250.h @@ -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); diff --git a/lib/dns/rdata/generic/afsdb_18.c b/lib/dns/rdata/generic/afsdb_18.c index d1cb2f480b..2744983eeb 100644 --- a/lib/dns/rdata/generic/afsdb_18.c +++ b/lib/dns/rdata/generic/afsdb_18.c @@ -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, ®ion); num = uint16_fromregion(®ion); isc_region_consume(®ion, 2); - sprintf(buf, "%u", num); + sprintf(buf, "%u ", num); RETERR(str_totext(buf, target)); - RETERR(str_totext(" ", target)); dns_name_fromregion(&name, ®ion); 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); diff --git a/lib/dns/rdata/generic/afsdb_18.h b/lib/dns/rdata/generic/afsdb_18.h index 84a3fc9c64..afaf0c53f8 100644 --- a/lib/dns/rdata/generic/afsdb_18.h +++ b/lib/dns/rdata/generic/afsdb_18.h @@ -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, ®ion); num = uint16_fromregion(®ion); isc_region_consume(®ion, 2); - sprintf(buf, "%u", num); + sprintf(buf, "%u ", num); RETERR(str_totext(buf, target)); - RETERR(str_totext(" ", target)); dns_name_fromregion(&name, ®ion); 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); diff --git a/lib/dns/rdata/generic/cert_37.c b/lib/dns/rdata/generic/cert_37.c index 87311c36aa..5e045699d4 100644 --- a/lib/dns/rdata/generic/cert_37.c +++ b/lib/dns/rdata/generic/cert_37.c @@ -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); diff --git a/lib/dns/rdata/generic/cert_37.h b/lib/dns/rdata/generic/cert_37.h index 3ade847f8f..f5257a4bb4 100644 --- a/lib/dns/rdata/generic/cert_37.h +++ b/lib/dns/rdata/generic/cert_37.h @@ -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); diff --git a/lib/dns/rdata/generic/cname_5.c b/lib/dns/rdata/generic/cname_5.c index 1fc75f9893..f32c94db70 100644 --- a/lib/dns/rdata/generic/cname_5.c +++ b/lib/dns/rdata/generic/cname_5.c @@ -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); diff --git a/lib/dns/rdata/generic/cname_5.h b/lib/dns/rdata/generic/cname_5.h index caf5285c11..4f51656b36 100644 --- a/lib/dns/rdata/generic/cname_5.h +++ b/lib/dns/rdata/generic/cname_5.h @@ -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); diff --git a/lib/dns/rdata/generic/gpos_27.c b/lib/dns/rdata/generic/gpos_27.c index d3dd8c82e3..f212f216b3 100644 --- a/lib/dns/rdata/generic/gpos_27.c +++ b/lib/dns/rdata/generic/gpos_27.c @@ -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); diff --git a/lib/dns/rdata/generic/gpos_27.h b/lib/dns/rdata/generic/gpos_27.h index 3f10a92efa..5899270214 100644 --- a/lib/dns/rdata/generic/gpos_27.h +++ b/lib/dns/rdata/generic/gpos_27.h @@ -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); diff --git a/lib/dns/rdata/generic/hinfo_13.c b/lib/dns/rdata/generic/hinfo_13.c index b2910bffc4..4b5b4c4e54 100644 --- a/lib/dns/rdata/generic/hinfo_13.c +++ b/lib/dns/rdata/generic/hinfo_13.c @@ -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); diff --git a/lib/dns/rdata/generic/hinfo_13.h b/lib/dns/rdata/generic/hinfo_13.h index 8b3fddd3f6..3f93ca58ff 100644 --- a/lib/dns/rdata/generic/hinfo_13.h +++ b/lib/dns/rdata/generic/hinfo_13.h @@ -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) +{ 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); diff --git a/lib/dns/rdata/generic/isdn_20.c b/lib/dns/rdata/generic/isdn_20.c index b1d96bd8cd..6b60e42c2f 100644 --- a/lib/dns/rdata/generic/isdn_20.c +++ b/lib/dns/rdata/generic/isdn_20.c @@ -24,8 +24,9 @@ static dns_result_t fromtext_isdn(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; REQUIRE(type == 20); @@ -65,8 +66,9 @@ totext_isdn(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_isdn(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) +{ REQUIRE(type == 20); @@ -106,7 +108,8 @@ compare_isdn(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_isdn(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 20); diff --git a/lib/dns/rdata/generic/isdn_20.h b/lib/dns/rdata/generic/isdn_20.h index b1d96bd8cd..6b60e42c2f 100644 --- a/lib/dns/rdata/generic/isdn_20.h +++ b/lib/dns/rdata/generic/isdn_20.h @@ -24,8 +24,9 @@ static dns_result_t fromtext_isdn(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; REQUIRE(type == 20); @@ -65,8 +66,9 @@ totext_isdn(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_isdn(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) +{ REQUIRE(type == 20); @@ -106,7 +108,8 @@ compare_isdn(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_isdn(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 20); diff --git a/lib/dns/rdata/generic/key_25.c b/lib/dns/rdata/generic/key_25.c index 15bf5bbfb7..bdce597aea 100644 --- a/lib/dns/rdata/generic/key_25.c +++ b/lib/dns/rdata/generic/key_25.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: key_25.c,v 1.2 1999/02/04 00:03:29 marka Exp $ */ + /* $Id: key_25.c,v 1.3 1999/02/16 22:42:25 marka Exp $ */ /* RFC 2065 */ @@ -24,8 +24,9 @@ static dns_result_t fromtext_key(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; unsigned char c; unsigned int flags; @@ -102,8 +103,9 @@ totext_key(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_key(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) +{ isc_region_t sr; REQUIRE(type == 25); @@ -148,7 +150,8 @@ compare_key(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_key(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 25); diff --git a/lib/dns/rdata/generic/key_25.h b/lib/dns/rdata/generic/key_25.h index 3942cfe682..1faccee7a2 100644 --- a/lib/dns/rdata/generic/key_25.h +++ b/lib/dns/rdata/generic/key_25.h @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: key_25.h,v 1.2 1999/02/04 00:03:29 marka Exp $ */ + /* $Id: key_25.h,v 1.3 1999/02/16 22:42:25 marka Exp $ */ /* RFC 2065 */ @@ -24,8 +24,9 @@ static dns_result_t fromtext_key(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; unsigned char c; unsigned int flags; @@ -102,8 +103,9 @@ totext_key(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_key(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) +{ isc_region_t sr; REQUIRE(type == 25); @@ -148,7 +150,8 @@ compare_key(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_key(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 25); diff --git a/lib/dns/rdata/generic/mb_7.c b/lib/dns/rdata/generic/mb_7.c index 6c62e5e4b9..a8fab67e1f 100644 --- a/lib/dns/rdata/generic/mb_7.c +++ b/lib/dns/rdata/generic/mb_7.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: mb_7.c,v 1.7 1999/02/15 05:44:16 marka Exp $ */ + /* $Id: mb_7.c,v 1.8 1999/02/16 22:42:25 marka Exp $ */ #ifndef RDATA_GENERIC_MB_7_H #define RDATA_GENERIC_MB_7_H @@ -23,7 +23,8 @@ static dns_result_t fromtext_mb(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; @@ -64,7 +65,8 @@ totext_mb(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_mb(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 == 7); @@ -114,7 +116,8 @@ compare_mb(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_mb(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 7); diff --git a/lib/dns/rdata/generic/mb_7.h b/lib/dns/rdata/generic/mb_7.h index 4e376b79fc..3b815d9677 100644 --- a/lib/dns/rdata/generic/mb_7.h +++ b/lib/dns/rdata/generic/mb_7.h @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: mb_7.h,v 1.7 1999/02/15 05:44:16 marka Exp $ */ + /* $Id: mb_7.h,v 1.8 1999/02/16 22:42:25 marka Exp $ */ #ifndef RDATA_GENERIC_MB_7_H #define RDATA_GENERIC_MB_7_H @@ -23,7 +23,8 @@ static dns_result_t fromtext_mb(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; @@ -64,7 +65,8 @@ totext_mb(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_mb(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 == 7); @@ -114,7 +116,8 @@ compare_mb(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_mb(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 7); diff --git a/lib/dns/rdata/generic/md_3.c b/lib/dns/rdata/generic/md_3.c index c40d9906f9..476e9bb4a5 100644 --- a/lib/dns/rdata/generic/md_3.c +++ b/lib/dns/rdata/generic/md_3.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: md_3.c,v 1.7 1999/02/15 05:44:16 marka Exp $ */ + /* $Id: md_3.c,v 1.8 1999/02/16 22:42:26 marka Exp $ */ #ifndef RDATA_GENERIC_MD_3_H #define RDATA_GENERIC_MD_3_H @@ -23,7 +23,8 @@ static dns_result_t fromtext_md(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; @@ -62,7 +63,8 @@ totext_md(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_md(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 == 3); @@ -112,7 +114,8 @@ compare_md(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_md(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 3); diff --git a/lib/dns/rdata/generic/md_3.h b/lib/dns/rdata/generic/md_3.h index 0fe24f8118..4bd7195122 100644 --- a/lib/dns/rdata/generic/md_3.h +++ b/lib/dns/rdata/generic/md_3.h @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: md_3.h,v 1.7 1999/02/15 05:44:16 marka Exp $ */ + /* $Id: md_3.h,v 1.8 1999/02/16 22:42:26 marka Exp $ */ #ifndef RDATA_GENERIC_MD_3_H #define RDATA_GENERIC_MD_3_H @@ -23,7 +23,8 @@ static dns_result_t fromtext_md(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; @@ -62,7 +63,8 @@ totext_md(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_md(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 == 3); @@ -112,7 +114,8 @@ compare_md(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_md(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 3); diff --git a/lib/dns/rdata/generic/mf_4.c b/lib/dns/rdata/generic/mf_4.c index 1e773936eb..ff25680004 100644 --- a/lib/dns/rdata/generic/mf_4.c +++ b/lib/dns/rdata/generic/mf_4.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1998-1999 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: mf_4.c,v 1.7 1999/02/15 05:44:17 marka Exp $ */ + /* $Id: mf_4.c,v 1.8 1999/02/16 22:42:26 marka Exp $ */ #ifndef RDATA_GENERIC_MF_4_H #define RDATA_GENERIC_MF_4_H @@ -23,7 +23,8 @@ static dns_result_t fromtext_mf(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; @@ -62,7 +63,8 @@ totext_mf(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_mf(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 == 4); @@ -112,7 +114,8 @@ compare_mf(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_mf(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 4); diff --git a/lib/dns/rdata/generic/mf_4.h b/lib/dns/rdata/generic/mf_4.h index c8b6dcfad0..c13f16b654 100644 --- a/lib/dns/rdata/generic/mf_4.h +++ b/lib/dns/rdata/generic/mf_4.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1998-1999 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: mf_4.h,v 1.7 1999/02/15 05:44:17 marka Exp $ */ + /* $Id: mf_4.h,v 1.8 1999/02/16 22:42:26 marka Exp $ */ #ifndef RDATA_GENERIC_MF_4_H #define RDATA_GENERIC_MF_4_H @@ -23,7 +23,8 @@ static dns_result_t fromtext_mf(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; @@ -62,7 +63,8 @@ totext_mf(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_mf(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 == 4); @@ -112,7 +114,8 @@ compare_mf(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_mf(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 4); diff --git a/lib/dns/rdata/generic/mg_8.c b/lib/dns/rdata/generic/mg_8.c index 62bd188555..c015120602 100644 --- a/lib/dns/rdata/generic/mg_8.c +++ b/lib/dns/rdata/generic/mg_8.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1998-1999 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: mg_8.c,v 1.7 1999/02/15 05:44:17 marka Exp $ */ + /* $Id: mg_8.c,v 1.8 1999/02/16 22:42:27 marka Exp $ */ #ifndef RDATA_GENERIC_MG_8_H #define RDATA_GENERIC_MG_8_H @@ -23,7 +23,8 @@ static dns_result_t fromtext_mg(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; @@ -64,7 +65,8 @@ totext_mg(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_mg(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 == 8); @@ -114,7 +116,8 @@ compare_mg(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_mg(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 8); diff --git a/lib/dns/rdata/generic/mg_8.h b/lib/dns/rdata/generic/mg_8.h index 84ad1bad81..418d0ac801 100644 --- a/lib/dns/rdata/generic/mg_8.h +++ b/lib/dns/rdata/generic/mg_8.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1998-1999 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: mg_8.h,v 1.7 1999/02/15 05:44:17 marka Exp $ */ + /* $Id: mg_8.h,v 1.8 1999/02/16 22:42:27 marka Exp $ */ #ifndef RDATA_GENERIC_MG_8_H #define RDATA_GENERIC_MG_8_H @@ -23,7 +23,8 @@ static dns_result_t fromtext_mg(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; @@ -64,7 +65,8 @@ totext_mg(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_mg(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 == 8); @@ -114,7 +116,8 @@ compare_mg(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_mg(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 8); diff --git a/lib/dns/rdata/generic/minfo_14.c b/lib/dns/rdata/generic/minfo_14.c index c8e25ecc3d..2ac7a03ab7 100644 --- a/lib/dns/rdata/generic/minfo_14.c +++ b/lib/dns/rdata/generic/minfo_14.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1998-1999 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: minfo_14.c,v 1.8 1999/02/15 05:44:17 marka Exp $ */ + /* $Id: minfo_14.c,v 1.9 1999/02/16 22:42:27 marka Exp $ */ #ifndef RDATA_GENERIC_MINFO_14_H #define RDATA_GENERIC_MINFO_14_H @@ -23,7 +23,8 @@ static dns_result_t fromtext_minfo(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; @@ -81,7 +82,8 @@ totext_minfo(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_minfo(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 rmail; dns_name_t email; @@ -160,7 +162,8 @@ compare_minfo(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_minfo(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 14); diff --git a/lib/dns/rdata/generic/minfo_14.h b/lib/dns/rdata/generic/minfo_14.h index 3fb859fa71..b5b1a81197 100644 --- a/lib/dns/rdata/generic/minfo_14.h +++ b/lib/dns/rdata/generic/minfo_14.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1998-1999 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: minfo_14.h,v 1.8 1999/02/15 05:44:17 marka Exp $ */ + /* $Id: minfo_14.h,v 1.9 1999/02/16 22:42:27 marka Exp $ */ #ifndef RDATA_GENERIC_MINFO_14_H #define RDATA_GENERIC_MINFO_14_H @@ -23,7 +23,8 @@ static dns_result_t fromtext_minfo(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; @@ -81,7 +82,8 @@ totext_minfo(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_minfo(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 rmail; dns_name_t email; @@ -160,7 +162,8 @@ compare_minfo(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_minfo(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 14); diff --git a/lib/dns/rdata/generic/mr_9.c b/lib/dns/rdata/generic/mr_9.c index 4e8033f3bb..65a4f3b0c1 100644 --- a/lib/dns/rdata/generic/mr_9.c +++ b/lib/dns/rdata/generic/mr_9.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1998-1999 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: mr_9.c,v 1.7 1999/02/15 05:44:18 marka Exp $ */ + /* $Id: mr_9.c,v 1.8 1999/02/16 22:42:27 marka Exp $ */ #ifndef RDATA_GENERIC_MR_9_H #define RDATA_GENERIC_MR_9_H @@ -23,7 +23,8 @@ static dns_result_t fromtext_mr(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; @@ -64,7 +65,8 @@ totext_mr(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_mr(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 == 9); @@ -114,7 +116,8 @@ compare_mr(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_mr(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 9); diff --git a/lib/dns/rdata/generic/mr_9.h b/lib/dns/rdata/generic/mr_9.h index b50dbbb0ea..18ebb1ab20 100644 --- a/lib/dns/rdata/generic/mr_9.h +++ b/lib/dns/rdata/generic/mr_9.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1998-1999 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: mr_9.h,v 1.7 1999/02/15 05:44:18 marka Exp $ */ + /* $Id: mr_9.h,v 1.8 1999/02/16 22:42:27 marka Exp $ */ #ifndef RDATA_GENERIC_MR_9_H #define RDATA_GENERIC_MR_9_H @@ -23,7 +23,8 @@ static dns_result_t fromtext_mr(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; @@ -64,7 +65,8 @@ totext_mr(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_mr(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 == 9); @@ -114,7 +116,8 @@ compare_mr(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_mr(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 9); diff --git a/lib/dns/rdata/generic/mx_15.c b/lib/dns/rdata/generic/mx_15.c index 891ad9383c..18184c3048 100644 --- a/lib/dns/rdata/generic/mx_15.c +++ b/lib/dns/rdata/generic/mx_15.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1998-1999 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: mx_15.c,v 1.10 1999/02/15 05:44:18 marka Exp $ */ + /* $Id: mx_15.c,v 1.11 1999/02/16 22:42:28 marka Exp $ */ #ifndef RDATA_GENERIC_MX_15_H #define RDATA_GENERIC_MX_15_H @@ -23,7 +23,8 @@ static dns_result_t fromtext_mx(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; @@ -73,7 +74,8 @@ totext_mx(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_mx(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; isc_region_t sregion; isc_region_t tregion; @@ -150,7 +152,8 @@ compare_mx(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_mx(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 15); diff --git a/lib/dns/rdata/generic/mx_15.h b/lib/dns/rdata/generic/mx_15.h index a51b7ddab2..59e6eb76f0 100644 --- a/lib/dns/rdata/generic/mx_15.h +++ b/lib/dns/rdata/generic/mx_15.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1998-1999 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: mx_15.h,v 1.10 1999/02/15 05:44:18 marka Exp $ */ + /* $Id: mx_15.h,v 1.11 1999/02/16 22:42:28 marka Exp $ */ #ifndef RDATA_GENERIC_MX_15_H #define RDATA_GENERIC_MX_15_H @@ -23,7 +23,8 @@ static dns_result_t fromtext_mx(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; @@ -73,7 +74,8 @@ totext_mx(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_mx(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; isc_region_t sregion; isc_region_t tregion; @@ -150,7 +152,8 @@ compare_mx(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_mx(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 15); diff --git a/lib/dns/rdata/generic/ns_2.c b/lib/dns/rdata/generic/ns_2.c index 571c5d2ea2..74b49e3f64 100644 --- a/lib/dns/rdata/generic/ns_2.c +++ b/lib/dns/rdata/generic/ns_2.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1998-1999 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: ns_2.c,v 1.7 1999/02/15 05:44:18 marka Exp $ */ + /* $Id: ns_2.c,v 1.8 1999/02/16 22:42:28 marka Exp $ */ #ifndef RDATA_GENERIC_NS_2_H #define RDATA_GENERIC_NS_2_H @@ -23,7 +23,8 @@ static dns_result_t fromtext_ns(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; @@ -64,7 +65,8 @@ totext_ns(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_ns(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 == 2); @@ -114,7 +116,8 @@ compare_ns(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_ns(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 2); diff --git a/lib/dns/rdata/generic/ns_2.h b/lib/dns/rdata/generic/ns_2.h index 2bde159d3e..7a22b60ace 100644 --- a/lib/dns/rdata/generic/ns_2.h +++ b/lib/dns/rdata/generic/ns_2.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1998-1999 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: ns_2.h,v 1.7 1999/02/15 05:44:18 marka Exp $ */ + /* $Id: ns_2.h,v 1.8 1999/02/16 22:42:28 marka Exp $ */ #ifndef RDATA_GENERIC_NS_2_H #define RDATA_GENERIC_NS_2_H @@ -23,7 +23,8 @@ static dns_result_t fromtext_ns(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; @@ -64,7 +65,8 @@ totext_ns(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_ns(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 == 2); @@ -114,7 +116,8 @@ compare_ns(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_ns(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 2); diff --git a/lib/dns/rdata/generic/null_10.c b/lib/dns/rdata/generic/null_10.c index 583e16dd6a..69f60f16ad 100644 --- a/lib/dns/rdata/generic/null_10.c +++ b/lib/dns/rdata/generic/null_10.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: null_10.c,v 1.5 1999/01/22 05:02:47 marka Exp $ */ + /* $Id: null_10.c,v 1.6 1999/02/16 22:42:28 marka Exp $ */ #ifndef RDATA_GENERIC_NULL_10_H #define RDATA_GENERIC_NULL_10_H @@ -23,7 +23,8 @@ static dns_result_t fromtext_null(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) +{ REQUIRE(type == 10); @@ -53,7 +54,8 @@ totext_null(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_null(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 == 10); @@ -89,7 +91,8 @@ compare_null(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_null(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 10); diff --git a/lib/dns/rdata/generic/null_10.h b/lib/dns/rdata/generic/null_10.h index 54b2a258d0..45ca1ac617 100644 --- a/lib/dns/rdata/generic/null_10.h +++ b/lib/dns/rdata/generic/null_10.h @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: null_10.h,v 1.5 1999/01/22 05:02:47 marka Exp $ */ + /* $Id: null_10.h,v 1.6 1999/02/16 22:42:28 marka Exp $ */ #ifndef RDATA_GENERIC_NULL_10_H #define RDATA_GENERIC_NULL_10_H @@ -23,7 +23,8 @@ static dns_result_t fromtext_null(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) +{ REQUIRE(type == 10); @@ -53,7 +54,8 @@ totext_null(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_null(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 == 10); @@ -89,7 +91,8 @@ compare_null(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_null(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 10); diff --git a/lib/dns/rdata/generic/nxt_30.c b/lib/dns/rdata/generic/nxt_30.c index cfcc3ae3a1..7c64504ab4 100644 --- a/lib/dns/rdata/generic/nxt_30.c +++ b/lib/dns/rdata/generic/nxt_30.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: nxt_30.c,v 1.4 1999/02/15 05:44:18 marka Exp $ */ + /* $Id: nxt_30.c,v 1.5 1999/02/16 22:42:28 marka Exp $ */ /* RFC 2065 */ @@ -24,8 +24,9 @@ static dns_result_t fromtext_nxt(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; dns_name_t name; isc_buffer_t buffer; @@ -117,8 +118,9 @@ totext_nxt(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_nxt(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) +{ isc_region_t sr; dns_name_t name; @@ -180,7 +182,8 @@ compare_nxt(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_nxt(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 30); diff --git a/lib/dns/rdata/generic/nxt_30.h b/lib/dns/rdata/generic/nxt_30.h index 4ed00dba60..f96e2d69af 100644 --- a/lib/dns/rdata/generic/nxt_30.h +++ b/lib/dns/rdata/generic/nxt_30.h @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: nxt_30.h,v 1.4 1999/02/15 05:44:18 marka Exp $ */ + /* $Id: nxt_30.h,v 1.5 1999/02/16 22:42:28 marka Exp $ */ /* RFC 2065 */ @@ -24,8 +24,9 @@ static dns_result_t fromtext_nxt(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; dns_name_t name; isc_buffer_t buffer; @@ -117,8 +118,9 @@ totext_nxt(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_nxt(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) +{ isc_region_t sr; dns_name_t name; @@ -180,7 +182,8 @@ compare_nxt(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_nxt(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 30); diff --git a/lib/dns/rdata/generic/ptr_12.c b/lib/dns/rdata/generic/ptr_12.c index e9a686e484..718c014e10 100644 --- a/lib/dns/rdata/generic/ptr_12.c +++ b/lib/dns/rdata/generic/ptr_12.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: ptr_12.c,v 1.7 1999/02/15 05:44:19 marka Exp $ */ + /* $Id: ptr_12.c,v 1.8 1999/02/16 22:42:29 marka Exp $ */ #ifndef RDATA_GENERIC_PTR_12_H #define RDATA_GENERIC_PTR_12_H @@ -23,7 +23,8 @@ static dns_result_t fromtext_ptr(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; @@ -64,7 +65,8 @@ totext_ptr(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_ptr(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 == 12); @@ -114,7 +116,8 @@ compare_ptr(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_ptr(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 12); diff --git a/lib/dns/rdata/generic/ptr_12.h b/lib/dns/rdata/generic/ptr_12.h index 7b38172a49..c0e554502b 100644 --- a/lib/dns/rdata/generic/ptr_12.h +++ b/lib/dns/rdata/generic/ptr_12.h @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: ptr_12.h,v 1.7 1999/02/15 05:44:19 marka Exp $ */ + /* $Id: ptr_12.h,v 1.8 1999/02/16 22:42:29 marka Exp $ */ #ifndef RDATA_GENERIC_PTR_12_H #define RDATA_GENERIC_PTR_12_H @@ -23,7 +23,8 @@ static dns_result_t fromtext_ptr(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; @@ -64,7 +65,8 @@ totext_ptr(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_ptr(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 == 12); @@ -114,7 +116,8 @@ compare_ptr(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_ptr(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 12); diff --git a/lib/dns/rdata/generic/rp_17.c b/lib/dns/rdata/generic/rp_17.c index 761879fd25..21361376ce 100644 --- a/lib/dns/rdata/generic/rp_17.c +++ b/lib/dns/rdata/generic/rp_17.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: rp_17.c,v 1.2 1999/02/15 05:44:19 marka Exp $ */ + /* $Id: rp_17.c,v 1.3 1999/02/16 22:42:29 marka Exp $ */ /* RFC 1183 */ @@ -24,8 +24,9 @@ static dns_result_t fromtext_rp(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; dns_name_t name; isc_buffer_t buffer; @@ -82,8 +83,9 @@ totext_rp(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_rp(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 rmail; dns_name_t email; @@ -162,7 +164,8 @@ compare_rp(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_rp(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 17); diff --git a/lib/dns/rdata/generic/rp_17.h b/lib/dns/rdata/generic/rp_17.h index 92e36122d8..42b2b1fa5a 100644 --- a/lib/dns/rdata/generic/rp_17.h +++ b/lib/dns/rdata/generic/rp_17.h @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: rp_17.h,v 1.2 1999/02/15 05:44:19 marka Exp $ */ + /* $Id: rp_17.h,v 1.3 1999/02/16 22:42:29 marka Exp $ */ /* RFC 1183 */ @@ -24,8 +24,9 @@ static dns_result_t fromtext_rp(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; dns_name_t name; isc_buffer_t buffer; @@ -82,8 +83,9 @@ totext_rp(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_rp(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 rmail; dns_name_t email; @@ -162,7 +164,8 @@ compare_rp(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_rp(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 17); diff --git a/lib/dns/rdata/generic/rt_21.c b/lib/dns/rdata/generic/rt_21.c index 80c773c930..7a0900d53a 100644 --- a/lib/dns/rdata/generic/rt_21.c +++ b/lib/dns/rdata/generic/rt_21.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: rt_21.c,v 1.2 1999/02/15 05:44:19 marka Exp $ */ + /* $Id: rt_21.c,v 1.3 1999/02/16 22:42:29 marka Exp $ */ /* RFC 1183 */ @@ -25,7 +25,8 @@ static dns_result_t fromtext_rt(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; @@ -75,7 +76,8 @@ totext_rt(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_rt(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; isc_region_t sregion; isc_region_t tregion; @@ -152,7 +154,8 @@ compare_rt(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_rt(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 21); diff --git a/lib/dns/rdata/generic/rt_21.h b/lib/dns/rdata/generic/rt_21.h index 78fa4a53f3..cbc1ae95bd 100644 --- a/lib/dns/rdata/generic/rt_21.h +++ b/lib/dns/rdata/generic/rt_21.h @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: rt_21.h,v 1.2 1999/02/15 05:44:19 marka Exp $ */ + /* $Id: rt_21.h,v 1.3 1999/02/16 22:42:29 marka Exp $ */ /* RFC 1183 */ @@ -25,7 +25,8 @@ static dns_result_t fromtext_rt(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; @@ -75,7 +76,8 @@ totext_rt(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_rt(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; isc_region_t sregion; isc_region_t tregion; @@ -152,7 +154,8 @@ compare_rt(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_rt(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 21); diff --git a/lib/dns/rdata/generic/sig_24.c b/lib/dns/rdata/generic/sig_24.c index 2918938734..45165cf4b4 100644 --- a/lib/dns/rdata/generic/sig_24.c +++ b/lib/dns/rdata/generic/sig_24.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: sig_24.c,v 1.6 1999/02/15 05:44:20 marka Exp $ */ + /* $Id: sig_24.c,v 1.7 1999/02/16 22:42:29 marka Exp $ */ /* RFC 2065 */ @@ -24,8 +24,9 @@ static dns_result_t fromtext_sig(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; unsigned char c; dns_rdatatype_t covered; @@ -172,8 +173,9 @@ totext_sig(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_sig(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) +{ isc_region_t sr; dns_name_t name; @@ -279,7 +281,8 @@ compare_sig(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_sig(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 24); diff --git a/lib/dns/rdata/generic/sig_24.h b/lib/dns/rdata/generic/sig_24.h index 34a81308ea..25e429569b 100644 --- a/lib/dns/rdata/generic/sig_24.h +++ b/lib/dns/rdata/generic/sig_24.h @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: sig_24.h,v 1.6 1999/02/15 05:44:20 marka Exp $ */ + /* $Id: sig_24.h,v 1.7 1999/02/16 22:42:29 marka Exp $ */ /* RFC 2065 */ @@ -24,8 +24,9 @@ static dns_result_t fromtext_sig(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; unsigned char c; dns_rdatatype_t covered; @@ -172,8 +173,9 @@ totext_sig(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_sig(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) +{ isc_region_t sr; dns_name_t name; @@ -279,7 +281,8 @@ compare_sig(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_sig(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 24); diff --git a/lib/dns/rdata/generic/soa_6.c b/lib/dns/rdata/generic/soa_6.c index 2923241aa9..1ba287948c 100644 --- a/lib/dns/rdata/generic/soa_6.c +++ b/lib/dns/rdata/generic/soa_6.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: soa_6.c,v 1.10 1999/02/15 05:44:20 marka Exp $ */ + /* $Id: soa_6.c,v 1.11 1999/02/16 22:42:30 marka Exp $ */ #ifndef RDATA_GENERIC_SOA_6_H #define RDATA_GENERIC_SOA_6_H @@ -23,7 +23,8 @@ static dns_result_t fromtext_soa(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; @@ -101,7 +102,8 @@ totext_soa(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_soa(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 mname; dns_name_t rname; isc_region_t sregion; @@ -207,7 +209,8 @@ compare_soa(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_soa(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 6); diff --git a/lib/dns/rdata/generic/soa_6.h b/lib/dns/rdata/generic/soa_6.h index e77a41569d..27fe1dd491 100644 --- a/lib/dns/rdata/generic/soa_6.h +++ b/lib/dns/rdata/generic/soa_6.h @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: soa_6.h,v 1.10 1999/02/15 05:44:20 marka Exp $ */ + /* $Id: soa_6.h,v 1.11 1999/02/16 22:42:30 marka Exp $ */ #ifndef RDATA_GENERIC_SOA_6_H #define RDATA_GENERIC_SOA_6_H @@ -23,7 +23,8 @@ static dns_result_t fromtext_soa(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; @@ -101,7 +102,8 @@ totext_soa(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_soa(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 mname; dns_name_t rname; isc_region_t sregion; @@ -207,7 +209,8 @@ compare_soa(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_soa(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 6); diff --git a/lib/dns/rdata/generic/txt_16.c b/lib/dns/rdata/generic/txt_16.c index b25ad2243a..9943c26431 100644 --- a/lib/dns/rdata/generic/txt_16.c +++ b/lib/dns/rdata/generic/txt_16.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: txt_16.c,v 1.8 1999/01/22 05:02:48 marka Exp $ */ + /* $Id: txt_16.c,v 1.9 1999/02/16 22:42:30 marka Exp $ */ #ifndef RDATA_GENERIC_TXT_16_H #define RDATA_GENERIC_TXT_16_H @@ -23,7 +23,8 @@ static dns_result_t fromtext_txt(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; REQUIRE(type == 16); @@ -67,7 +68,8 @@ totext_txt(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_txt(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_result_t result; REQUIRE(type == 16); @@ -117,7 +119,8 @@ compare_txt(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_txt(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 16); diff --git a/lib/dns/rdata/generic/txt_16.h b/lib/dns/rdata/generic/txt_16.h index 47bae3634c..a29927cbd9 100644 --- a/lib/dns/rdata/generic/txt_16.h +++ b/lib/dns/rdata/generic/txt_16.h @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: txt_16.h,v 1.8 1999/01/22 05:02:48 marka Exp $ */ + /* $Id: txt_16.h,v 1.9 1999/02/16 22:42:30 marka Exp $ */ #ifndef RDATA_GENERIC_TXT_16_H #define RDATA_GENERIC_TXT_16_H @@ -23,7 +23,8 @@ static dns_result_t fromtext_txt(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; REQUIRE(type == 16); @@ -67,7 +68,8 @@ totext_txt(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_txt(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_result_t result; REQUIRE(type == 16); @@ -117,7 +119,8 @@ compare_txt(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_txt(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 16); diff --git a/lib/dns/rdata/generic/unspec_103.c b/lib/dns/rdata/generic/unspec_103.c index 40b6444286..20d286431d 100644 --- a/lib/dns/rdata/generic/unspec_103.c +++ b/lib/dns/rdata/generic/unspec_103.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: unspec_103.c,v 1.1 1999/02/03 06:00:51 marka Exp $ */ + /* $Id: unspec_103.c,v 1.2 1999/02/16 22:42:30 marka Exp $ */ #ifndef RDATA_GENERIC_UNSPEC_103_H #define RDATA_GENERIC_UNSPEC_103_H @@ -89,7 +89,8 @@ compare_unspec(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_unspec(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 103); diff --git a/lib/dns/rdata/generic/unspec_103.h b/lib/dns/rdata/generic/unspec_103.h index 01a73226bd..a79a847098 100644 --- a/lib/dns/rdata/generic/unspec_103.h +++ b/lib/dns/rdata/generic/unspec_103.h @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: unspec_103.h,v 1.1 1999/02/03 06:00:51 marka Exp $ */ + /* $Id: unspec_103.h,v 1.2 1999/02/16 22:42:30 marka Exp $ */ #ifndef RDATA_GENERIC_UNSPEC_103_H #define RDATA_GENERIC_UNSPEC_103_H @@ -89,7 +89,8 @@ compare_unspec(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_unspec(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 103); diff --git a/lib/dns/rdata/generic/x25_19.c b/lib/dns/rdata/generic/x25_19.c index ded64edde0..a15e2aaab1 100644 --- a/lib/dns/rdata/generic/x25_19.c +++ b/lib/dns/rdata/generic/x25_19.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: x25_19.c,v 1.1 1999/01/22 05:02:49 marka Exp $ */ + /* $Id: x25_19.c,v 1.2 1999/02/16 22:42:31 marka Exp $ */ /* RFC 1183 */ @@ -26,8 +26,9 @@ static dns_result_t fromtext_x25(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; unsigned int i; @@ -59,8 +60,9 @@ totext_x25(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_x25(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) +{ REQUIRE(type == 19); @@ -103,7 +105,8 @@ compare_x25(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_x25(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 19); diff --git a/lib/dns/rdata/generic/x25_19.h b/lib/dns/rdata/generic/x25_19.h index daab5b5ab2..458182c4b0 100644 --- a/lib/dns/rdata/generic/x25_19.h +++ b/lib/dns/rdata/generic/x25_19.h @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: x25_19.h,v 1.1 1999/01/22 05:02:49 marka Exp $ */ + /* $Id: x25_19.h,v 1.2 1999/02/16 22:42:31 marka Exp $ */ /* RFC 1183 */ @@ -26,8 +26,9 @@ static dns_result_t fromtext_x25(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; unsigned int i; @@ -59,8 +60,9 @@ totext_x25(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_x25(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) +{ REQUIRE(type == 19); @@ -103,7 +105,8 @@ compare_x25(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_x25(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 19); diff --git a/lib/dns/rdata/in_1/a6_38.c b/lib/dns/rdata/in_1/a6_38.c index b9e377f1f1..2386cef295 100644 --- a/lib/dns/rdata/in_1/a6_38.c +++ b/lib/dns/rdata/in_1/a6_38.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: a6_38.c,v 1.4 1999/02/15 05:44:21 marka Exp $ */ + /* $Id: a6_38.c,v 1.5 1999/02/16 22:42:31 marka Exp $ */ /* draft-ietf-ipngwg-dns-lookups-03.txt */ @@ -138,7 +138,8 @@ totext_in_a6(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_in_a6(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) +{ isc_region_t sr; unsigned char prefixlen; unsigned char octets; @@ -239,7 +240,8 @@ compare_in_a6(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_in_a6(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 1); REQUIRE(class == 1); diff --git a/lib/dns/rdata/in_1/a6_38.h b/lib/dns/rdata/in_1/a6_38.h index c9dbb569d4..c9a2be37bd 100644 --- a/lib/dns/rdata/in_1/a6_38.h +++ b/lib/dns/rdata/in_1/a6_38.h @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: a6_38.h,v 1.4 1999/02/15 05:44:21 marka Exp $ */ + /* $Id: a6_38.h,v 1.5 1999/02/16 22:42:31 marka Exp $ */ /* draft-ietf-ipngwg-dns-lookups-03.txt */ @@ -138,7 +138,8 @@ totext_in_a6(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_in_a6(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) +{ isc_region_t sr; unsigned char prefixlen; unsigned char octets; @@ -239,7 +240,8 @@ compare_in_a6(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_in_a6(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 1); REQUIRE(class == 1); diff --git a/lib/dns/rdata/in_1/a_1.c b/lib/dns/rdata/in_1/a_1.c index 7f4d2a8184..08f53280f9 100644 --- a/lib/dns/rdata/in_1/a_1.c +++ b/lib/dns/rdata/in_1/a_1.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: a_1.c,v 1.11 1999/02/09 07:58:57 marka Exp $ */ + /* $Id: a_1.c,v 1.12 1999/02/16 22:42:31 marka Exp $ */ #ifndef RDATA_IN_1_A_1_H #define RDATA_IN_1_A_1_H @@ -33,7 +33,8 @@ static dns_result_t fromtext_in_a(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; struct in_addr addr; isc_region_t region; @@ -78,7 +79,8 @@ totext_in_a(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_in_a(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) +{ isc_region_t sregion; isc_region_t tregion; @@ -137,7 +139,8 @@ compare_in_a(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_in_a(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 1); REQUIRE(class == 1); diff --git a/lib/dns/rdata/in_1/a_1.h b/lib/dns/rdata/in_1/a_1.h index dc3d7f9cac..91c76d897f 100644 --- a/lib/dns/rdata/in_1/a_1.h +++ b/lib/dns/rdata/in_1/a_1.h @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: a_1.h,v 1.11 1999/02/09 07:58:57 marka Exp $ */ + /* $Id: a_1.h,v 1.12 1999/02/16 22:42:31 marka Exp $ */ #ifndef RDATA_IN_1_A_1_H #define RDATA_IN_1_A_1_H @@ -33,7 +33,8 @@ static dns_result_t fromtext_in_a(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; struct in_addr addr; isc_region_t region; @@ -78,7 +79,8 @@ totext_in_a(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_in_a(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) +{ isc_region_t sregion; isc_region_t tregion; @@ -137,7 +139,8 @@ compare_in_a(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_in_a(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 1); REQUIRE(class == 1); diff --git a/lib/dns/rdata/in_1/aaaa_28.c b/lib/dns/rdata/in_1/aaaa_28.c index c57bde1c95..9a97f2cb29 100644 --- a/lib/dns/rdata/in_1/aaaa_28.c +++ b/lib/dns/rdata/in_1/aaaa_28.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: aaaa_28.c,v 1.5 1999/02/09 07:52:31 marka Exp $ */ + /* $Id: aaaa_28.c,v 1.6 1999/02/16 22:42:31 marka Exp $ */ /* RFC 1886 */ @@ -34,8 +34,9 @@ static dns_result_t fromtext_in_aaaa(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; unsigned char addr[16]; isc_region_t region; @@ -79,8 +80,9 @@ totext_in_aaaa(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_in_aaaa(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) +{ isc_region_t sregion; isc_region_t tregion; @@ -139,7 +141,8 @@ compare_in_aaaa(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_in_aaaa(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 1); REQUIRE(class == 1); diff --git a/lib/dns/rdata/in_1/aaaa_28.h b/lib/dns/rdata/in_1/aaaa_28.h index 98e4d8ad05..bcfe0f7597 100644 --- a/lib/dns/rdata/in_1/aaaa_28.h +++ b/lib/dns/rdata/in_1/aaaa_28.h @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: aaaa_28.h,v 1.5 1999/02/09 07:52:31 marka Exp $ */ + /* $Id: aaaa_28.h,v 1.6 1999/02/16 22:42:31 marka Exp $ */ /* RFC 1886 */ @@ -34,8 +34,9 @@ static dns_result_t fromtext_in_aaaa(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; unsigned char addr[16]; isc_region_t region; @@ -79,8 +80,9 @@ totext_in_aaaa(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_in_aaaa(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) +{ isc_region_t sregion; isc_region_t tregion; @@ -139,7 +141,8 @@ compare_in_aaaa(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_in_aaaa(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 1); REQUIRE(class == 1); diff --git a/lib/dns/rdata/in_1/kx_36.c b/lib/dns/rdata/in_1/kx_36.c index 244cdfd43e..64e7de70bf 100644 --- a/lib/dns/rdata/in_1/kx_36.c +++ b/lib/dns/rdata/in_1/kx_36.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: kx_36.c,v 1.2 1999/02/15 05:44:21 marka Exp $ */ + /* $Id: kx_36.c,v 1.3 1999/02/16 22:42:32 marka Exp $ */ /* RFC 2230 */ @@ -24,8 +24,9 @@ static dns_result_t fromtext_in_kx(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; dns_name_t name; isc_buffer_t buffer; @@ -73,8 +74,9 @@ totext_in_kx(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_in_kx(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 sregion; @@ -143,7 +145,8 @@ compare_in_kx(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_in_kx(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 36); REQUIRE(class == 1); diff --git a/lib/dns/rdata/in_1/kx_36.h b/lib/dns/rdata/in_1/kx_36.h index c02f07788b..06aa79b883 100644 --- a/lib/dns/rdata/in_1/kx_36.h +++ b/lib/dns/rdata/in_1/kx_36.h @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: kx_36.h,v 1.2 1999/02/15 05:44:21 marka Exp $ */ + /* $Id: kx_36.h,v 1.3 1999/02/16 22:42:32 marka Exp $ */ /* RFC 2230 */ @@ -24,8 +24,9 @@ static dns_result_t fromtext_in_kx(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; dns_name_t name; isc_buffer_t buffer; @@ -73,8 +74,9 @@ totext_in_kx(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_in_kx(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 sregion; @@ -143,7 +145,8 @@ compare_in_kx(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_in_kx(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 36); REQUIRE(class == 1); diff --git a/lib/dns/rdata/in_1/naptr_35.c b/lib/dns/rdata/in_1/naptr_35.c index ddd224bea5..77c977e2ff 100644 --- a/lib/dns/rdata/in_1/naptr_35.c +++ b/lib/dns/rdata/in_1/naptr_35.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: naptr_35.c,v 1.2 1999/02/15 05:44:21 marka Exp $ */ + /* $Id: naptr_35.c,v 1.3 1999/02/16 22:42:32 marka Exp $ */ /* RFC 2168 */ @@ -24,8 +24,8 @@ static dns_result_t fromtext_in_naptr(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; dns_name_t name; @@ -113,8 +113,8 @@ totext_in_naptr(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_in_naptr(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; @@ -230,8 +230,8 @@ compare_in_naptr(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { } static dns_result_t -fromstruct_in_naptr(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) +fromstruct_in_naptr(dns_rdataclass_t class, dns_rdatatype_t type, + void *source, isc_buffer_t *target) { REQUIRE(type == 35); diff --git a/lib/dns/rdata/in_1/naptr_35.h b/lib/dns/rdata/in_1/naptr_35.h index 8113c80b55..c2fd677db7 100644 --- a/lib/dns/rdata/in_1/naptr_35.h +++ b/lib/dns/rdata/in_1/naptr_35.h @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: naptr_35.h,v 1.2 1999/02/15 05:44:21 marka Exp $ */ + /* $Id: naptr_35.h,v 1.3 1999/02/16 22:42:32 marka Exp $ */ /* RFC 2168 */ @@ -24,8 +24,8 @@ static dns_result_t fromtext_in_naptr(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; dns_name_t name; @@ -113,8 +113,8 @@ totext_in_naptr(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_in_naptr(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; @@ -230,8 +230,8 @@ compare_in_naptr(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { } static dns_result_t -fromstruct_in_naptr(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) +fromstruct_in_naptr(dns_rdataclass_t class, dns_rdatatype_t type, + void *source, isc_buffer_t *target) { REQUIRE(type == 35); diff --git a/lib/dns/rdata/in_1/nsap_22.c b/lib/dns/rdata/in_1/nsap_22.c index a7f2daa85b..94eba3c417 100644 --- a/lib/dns/rdata/in_1/nsap_22.c +++ b/lib/dns/rdata/in_1/nsap_22.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: nsap_22.c,v 1.1 1999/01/27 13:38:21 marka Exp $ */ + /* $Id: nsap_22.c,v 1.2 1999/02/16 22:42:32 marka Exp $ */ /* RFC 1706 */ @@ -94,8 +94,9 @@ totext_in_nsap(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_in_nsap(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) +{ isc_region_t region; REQUIRE(type == 22); @@ -140,7 +141,8 @@ compare_in_nsap(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_in_nsap(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 22); REQUIRE(class == 1); diff --git a/lib/dns/rdata/in_1/nsap_22.h b/lib/dns/rdata/in_1/nsap_22.h index 2b43423d61..2fd01aa3fd 100644 --- a/lib/dns/rdata/in_1/nsap_22.h +++ b/lib/dns/rdata/in_1/nsap_22.h @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: nsap_22.h,v 1.1 1999/01/27 13:38:21 marka Exp $ */ + /* $Id: nsap_22.h,v 1.2 1999/02/16 22:42:32 marka Exp $ */ /* RFC 1706 */ @@ -94,8 +94,9 @@ totext_in_nsap(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_in_nsap(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) +{ isc_region_t region; REQUIRE(type == 22); @@ -140,7 +141,8 @@ compare_in_nsap(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_in_nsap(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ REQUIRE(type == 22); REQUIRE(class == 1); diff --git a/lib/dns/rdata/in_1/wks_11.c b/lib/dns/rdata/in_1/wks_11.c index 1f029aeb9b..2842fe86cb 100644 --- a/lib/dns/rdata/in_1/wks_11.c +++ b/lib/dns/rdata/in_1/wks_11.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: wks_11.c,v 1.7 1999/02/02 13:31:46 marka Exp $ */ + /* $Id: wks_11.c,v 1.8 1999/02/16 22:42:33 marka Exp $ */ #ifndef RDATA_IN_1_WKS_11_H #define RDATA_IN_1_WKS_11_H @@ -34,8 +34,9 @@ static dns_result_t fromtext_in_wks(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; isc_region_t region; struct in_addr addr; @@ -153,8 +154,9 @@ totext_in_wks(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_in_wks(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) +{ isc_region_t sr; isc_region_t tr; @@ -210,7 +212,9 @@ compare_in_wks(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_in_wks(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ + REQUIRE(type == 11); REQUIRE(class == 1); diff --git a/lib/dns/rdata/in_1/wks_11.h b/lib/dns/rdata/in_1/wks_11.h index cc1f227aec..dfd0397777 100644 --- a/lib/dns/rdata/in_1/wks_11.h +++ b/lib/dns/rdata/in_1/wks_11.h @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: wks_11.h,v 1.7 1999/02/02 13:31:46 marka Exp $ */ + /* $Id: wks_11.h,v 1.8 1999/02/16 22:42:33 marka Exp $ */ #ifndef RDATA_IN_1_WKS_11_H #define RDATA_IN_1_WKS_11_H @@ -34,8 +34,9 @@ static dns_result_t fromtext_in_wks(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; isc_region_t region; struct in_addr addr; @@ -153,8 +154,9 @@ totext_in_wks(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) { static dns_result_t fromwire_in_wks(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) +{ isc_region_t sr; isc_region_t tr; @@ -210,7 +212,9 @@ compare_in_wks(dns_rdata_t *rdata1, dns_rdata_t *rdata2) { static dns_result_t fromstruct_in_wks(dns_rdataclass_t class, dns_rdatatype_t type, void *source, - isc_buffer_t *target) { + isc_buffer_t *target) +{ + REQUIRE(type == 11); REQUIRE(class == 1);