mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 00:30:00 -04:00
changed references to 'binary buffer' in comments
to just 'buffer', as there is no longer a distinction between binary and text buffers
This commit is contained in:
parent
ad7209ea70
commit
ee03a00244
6 changed files with 13 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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(),
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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));
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue