BIND 10 trac517, updated. 2565b9fe9daf6ba63234b06b9f0eb5b8168257b4 add more comment for nextNode function call
BIND 10 source code commits
bind10-changes at lists.isc.org
Sat Jan 29 13:06:36 UTC 2011
The branch, trac517 has been updated
via 2565b9fe9daf6ba63234b06b9f0eb5b8168257b4 (commit)
from c2b374e5e2d608ce0236b7f49b63bf70b57c761f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2565b9fe9daf6ba63234b06b9f0eb5b8168257b4
Author: hanfeng <hanfeng at cnnic.cn>
Date: Sat Jan 29 21:06:14 2011 +0800
add more comment for nextNode function call
-----------------------------------------------------------------------
Summary of changes:
src/lib/datasrc/rbtree.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/rbtree.h b/src/lib/datasrc/rbtree.h
index 7fe4d58..3e6cab9 100644
--- a/src/lib/datasrc/rbtree.h
+++ b/src/lib/datasrc/rbtree.h
@@ -677,6 +677,11 @@ public:
/// \brief return the next bigger node in DNSSEC order of the given node.
///
+ /// \note nextNode will iterator all the nodes in RBTree including empty
+ /// nodes. If empty node isn't desired, it's easy to add logic to check
+ /// return node and keep invoking nextNode until the non-empty node is
+ /// retrived
+ ///
/// This method also updates the given \c node_path so that it will store
/// the path for the returned next node.
/// It will be convenient when we want to iterate over the all nodes
More information about the bind10-changes
mailing list