From e41c76e599440fc834f285205c268ab8f216f0e8 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 10 Aug 2004 00:41:39 +0000 Subject: [PATCH] improve dns_name_getlabelsequence() description. --- lib/dns/include/dns/name.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/dns/include/dns/name.h b/lib/dns/include/dns/name.h index 48bf085045..4a9eb23ec0 100644 --- a/lib/dns/include/dns/name.h +++ b/lib/dns/include/dns/name.h @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: name.h,v 1.95.2.3.2.9 2004/07/20 07:01:57 marka Exp $ */ +/* $Id: name.h,v 1.95.2.3.2.10 2004/08/10 00:41:39 marka Exp $ */ #ifndef DNS_NAME_H #define DNS_NAME_H 1 @@ -573,6 +573,9 @@ dns_name_getlabelsequence(const dns_name_t *source, unsigned int first, * Notes: * Numbering starts at 0. * + * Given "rc.vix.com.", the label 0 is "rc", and label 3 is the + * root label. + * * 'target' refers to the same memory as 'source', so 'source' * must not be changed while 'target' is still in use. *