From ee03a00244edc6c823ea11bed16437865b395d5d Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Tue, 6 Jun 2000 17:47:54 +0000 Subject: [PATCH] changed references to 'binary buffer' in comments to just 'buffer', as there is no longer a distinction between binary and text buffers --- bin/tests/names/t_names.c | 2 +- lib/dns/include/dns/message.h | 4 ++-- lib/dns/include/dns/name.h | 2 +- lib/dns/include/dns/rdata.h | 12 ++++++------ lib/dns/name.c | 2 +- lib/isc/include/isc/base64.h | 4 ++-- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/bin/tests/names/t_names.c b/bin/tests/names/t_names.c index aba2225bce..b06ee95f6b 100644 --- a/bin/tests/names/t_names.c +++ b/bin/tests/names/t_names.c @@ -619,7 +619,7 @@ t_dns_name_invalidate(void) { t_result(result); } -static const char *a5 = "dns_name_setbuffer dedicates a binary buffer for use " +static const char *a5 = "dns_name_setbuffer dedicates a buffer for use " "with 'name'"; static void diff --git a/lib/dns/include/dns/message.h b/lib/dns/include/dns/message.h index e4a97d1fd3..a318b7b937 100644 --- a/lib/dns/include/dns/message.h +++ b/lib/dns/include/dns/message.h @@ -384,7 +384,7 @@ dns_message_parse(dns_message_t *msg, isc_buffer_t *source, * Requires: * "msg" be valid. * - * "buffer" be a wire format binary buffer. + * "buffer" be a wire format buffer. * * Ensures: * The buffer's data format is correct. @@ -413,7 +413,7 @@ dns_message_renderbegin(dns_message_t *msg, isc_buffer_t *buffer); * * 'msg' be valid. * - * buffer is a valid binary buffer. + * 'buffer' is a valid buffer. * * Side Effects: * diff --git a/lib/dns/include/dns/name.h b/lib/dns/include/dns/name.h index d1d3abf1b3..b32db91ddf 100644 --- a/lib/dns/include/dns/name.h +++ b/lib/dns/include/dns/name.h @@ -261,7 +261,7 @@ dns_name_invalidate(dns_name_t *name); void dns_name_setbuffer(dns_name_t *name, isc_buffer_t *buffer); /* - * Dedicate a binary buffer for use with 'name'. + * Dedicate a buffer for use with 'name'. * * Notes: * Specification of a target buffer in dns_name_fromwire(), diff --git a/lib/dns/include/dns/rdata.h b/lib/dns/include/dns/rdata.h index 57d648be1d..89986b1a1b 100644 --- a/lib/dns/include/dns/rdata.h +++ b/lib/dns/include/dns/rdata.h @@ -195,8 +195,8 @@ isc_result_t dns_rdata_fromwire(dns_rdata_t *rdata, dns_rdataclass_t rdclass, 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); /* * Copy the possibly-compressed rdata at source into the target region. * @@ -210,10 +210,10 @@ dns_rdata_fromwire(dns_rdata_t *rdata, dns_rdataclass_t rdclass, * * 'rdclass' and 'type' are valid. * - * 'source' is a valid binary buffer, and the active region of 'source' + * 'source' is a valid buffer, and the active region of 'source' * references the rdata to be processed. * - * 'target' is a valid binary buffer. + * 'target' is a valid buffer. * * 'dctx' is a valid decompression context. * @@ -250,7 +250,7 @@ dns_rdata_towire(dns_rdata_t *rdata, dns_compress_t *cctx, * Requires: * 'rdata' is a valid, non-empty rdata * - * target is a valid binary buffer + * target is a valid buffer * * Any offsets specified in a global compression table are valid * for target. @@ -383,7 +383,7 @@ dns_rdata_fromstruct(dns_rdata_t *rdata, dns_rdataclass_t rdclass, * * 'source' points to a valid C struct for the class and type. * - * 'target' is a valid binary buffer. + * 'target' is a valid buffer. * * All structure pointers to memory blocks should be NULL if their * corresponding length values are zero. diff --git a/lib/dns/name.c b/lib/dns/name.c index bc1a48e255..6272565344 100644 --- a/lib/dns/name.c +++ b/lib/dns/name.c @@ -339,7 +339,7 @@ dns_name_invalidate(dns_name_t *name) { void dns_name_setbuffer(dns_name_t *name, isc_buffer_t *buffer) { /* - * Dedicate a binary buffer for use with 'name'. + * Dedicate a buffer for use with 'name'. */ REQUIRE(VALID_NAME(name)); diff --git a/lib/isc/include/isc/base64.h b/lib/isc/include/isc/base64.h index 892e0a68f6..688d525a3c 100644 --- a/lib/isc/include/isc/base64.h +++ b/lib/isc/include/isc/base64.h @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: base64.h,v 1.7 2000/06/01 17:20:35 tale Exp $ */ +/* $Id: base64.h,v 1.8 2000/06/06 17:47:54 gson Exp $ */ #ifndef ISC_BASE64_H #define ISC_BASE64_H 1 @@ -56,7 +56,7 @@ isc_base64_totext(isc_region_t *source, int wordlength, * * Requires: * "lex" is a valid lexer context - * "target" is a binary buffer containing binary data + * "target" is a buffer containing binary data * "length" is an integer * * Ensures: