mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
bad descriptions s/dns_label_countlabels/dns_name_countlabels/
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: name.h,v 1.110 2004/09/01 05:13:06 marka Exp $ */
|
||||
/* $Id: name.h,v 1.111 2004/09/08 00:26:14 marka Exp $ */
|
||||
|
||||
#ifndef DNS_NAME_H
|
||||
#define DNS_NAME_H 1
|
||||
@@ -560,7 +560,7 @@ dns_name_getlabel(const dns_name_t *name, unsigned int n, dns_label_t *label);
|
||||
* be changed while 'label' is still in use.
|
||||
*
|
||||
* Requires:
|
||||
* n < dns_label_countlabels(name)
|
||||
* n < dns_name_countlabels(name)
|
||||
*/
|
||||
|
||||
void
|
||||
@@ -582,9 +582,9 @@ dns_name_getlabelsequence(const dns_name_t *source, unsigned int first,
|
||||
* Requires:
|
||||
* 'source' and 'target' are valid names.
|
||||
*
|
||||
* first < dns_label_countlabels(name)
|
||||
* first < dns_name_countlabels(name)
|
||||
*
|
||||
* first + n <= dns_label_countlabels(name)
|
||||
* first + n <= dns_name_countlabels(name)
|
||||
*/
|
||||
|
||||
|
||||
@@ -601,7 +601,7 @@ dns_name_clone(dns_name_t *source, dns_name_t *target);
|
||||
* This call is functionally equivalent to:
|
||||
*
|
||||
* dns_name_getlabelsequence(source, 0,
|
||||
* dns_label_countlabels(source),
|
||||
* dns_name_countlabels(source),
|
||||
* target);
|
||||
*
|
||||
* but is more efficient. Also, dns_name_clone() works even if 'source'
|
||||
|
Reference in New Issue
Block a user