From: Miek Gieben Date: Tue, 11 Jan 2005 09:49:28 +0000 (+0000) Subject: removed the INT48 stuff X-Git-Tag: release-0.50~585 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76a9ea90788353051aa0484a2e4d2fa89496c7f5;p=thirdparty%2Fldns.git removed the INT48 stuff --- diff --git a/Makefile.in b/Makefile.in index 0e279619..aa209a87 100644 --- a/Makefile.in +++ b/Makefile.in @@ -93,6 +93,9 @@ lint: $(LINT) $(LINTFLAGS) -I. -I$(srcdir) $(srcdir)/$$i ; \ done +tags: *.c *.h + ctags *.[ch] + timegm$U.o: compat/timegm.c $(COMPILE) -c compat/timegm.c -o $@ diff --git a/host2str.c b/host2str.c index 5d01a917..85703eaa 100644 --- a/host2str.c +++ b/host2str.c @@ -40,7 +40,7 @@ ldns_lookup_table ldns_algorithms[] = { { 2, "DS" }, { 3, "DSA" }, { 4, "ECC" }, - { 5, "RSASHA1" }, /* XXX: Where is this specified? */ + { 5, "RSASHA1" }, { 252, "INDIRECT" }, { 253, "PRIVATEDNS" }, { 254, "PRIVATEOID" }, @@ -118,14 +118,6 @@ ldns_rdf2buffer_int32(ldns_buffer *output, ldns_rdf *rdf) return ldns_buffer_status(output); } -ldns_status -ldns_rdf2buffer_int48(ldns_buffer *output, ldns_rdf *rdf) -{ - /* TODO */ - ldns_buffer_printf(output, "INT48 TODO"); - return ldns_buffer_status(output); -} - /** * convert A address */ @@ -202,9 +194,6 @@ ldns_rdf2buffer(ldns_buffer *buffer, ldns_rdf *rdf) case LDNS_RDF_TYPE_INT32: res = ldns_rdf2buffer_int32(buffer, rdf); break; - case LDNS_RDF_TYPE_INT48: - res = ldns_rdf2buffer_int48(buffer, rdf); - break; case LDNS_RDF_TYPE_A: res = ldns_rdf2buffer_a(buffer, rdf); break; diff --git a/ldns/rdata.h b/ldns/rdata.h index 6e3fcb62..45d6d52e 100644 --- a/ldns/rdata.h +++ b/ldns/rdata.h @@ -48,8 +48,6 @@ enum ldns_enum_rdf_type LDNS_RDF_TYPE_INT16, /** 32 bits */ LDNS_RDF_TYPE_INT32, - /** 48 bits? */ - LDNS_RDF_TYPE_INT48, /** A record */ LDNS_RDF_TYPE_A, /** AAAA record */ diff --git a/str2host.c b/str2host.c index b6920121..b48cc786 100644 --- a/str2host.c +++ b/str2host.c @@ -27,7 +27,7 @@ #endif /** - * convert a short into wireformat + * convert a short str into wireformat */ ldns_status ldns_conv_int16(ldns_rdf **rd, const char *shortstr) @@ -48,7 +48,7 @@ ldns_conv_int16(ldns_rdf **rd, const char *shortstr) } /** - * convert a time value to wireformat + * convert a time str value to wireformat */ ldns_status ldns_conv_time(ldns_rdf **rd, const char *time) diff --git a/wire2host.c b/wire2host.c index 6c8f1982..703f1097 100644 --- a/wire2host.c +++ b/wire2host.c @@ -292,9 +292,6 @@ ldns_wire2rdf(ldns_rr *rr, const uint8_t *wire, case LDNS_RDF_TYPE_INT32: cur_rdf_length = 4; break; - case LDNS_RDF_TYPE_INT48: - cur_rdf_length = 6; - break; case LDNS_RDF_TYPE_A: cur_rdf_length = 4; break;