BIND 10 trac2835, updated. fe630ca4be50f0f0bd048eec264b8a21df9c6b38 [2835] (minor) Docs, comments
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Mar 27 09:11:13 UTC 2013
The branch, trac2835 has been updated
via fe630ca4be50f0f0bd048eec264b8a21df9c6b38 (commit)
from 7f62c19c5d561e755570b8aeab625dd275ecae3a (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 fe630ca4be50f0f0bd048eec264b8a21df9c6b38
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date: Wed Mar 27 10:10:48 2013 +0100
[2835] (minor) Docs, comments
-----------------------------------------------------------------------
Summary of changes:
src/lib/datasrc/client_list.h | 5 +++++
src/lib/datasrc/tests/client_list_unittest.cc | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/client_list.h b/src/lib/datasrc/client_list.h
index c087494..256ad36 100644
--- a/src/lib/datasrc/client_list.h
+++ b/src/lib/datasrc/client_list.h
@@ -92,6 +92,11 @@ public:
/// \brief Get the segment type
///
+ /// \note Specific values of the type are only meaningful for the
+ /// corresponding memory segment implementation and modules that
+ /// directly manage the segments. Other normal applications should
+ /// treat them as opaque identifiers.
+ ///
/// \throw isc::InvalidOperation if called and state is SEGMENT_UNUSED.
const std::string& getSegmentType() const {
if (getSegmentState() == SEGMENT_UNUSED) {
diff --git a/src/lib/datasrc/tests/client_list_unittest.cc b/src/lib/datasrc/tests/client_list_unittest.cc
index 821b24f..bc2d4f1 100644
--- a/src/lib/datasrc/tests/client_list_unittest.cc
+++ b/src/lib/datasrc/tests/client_list_unittest.cc
@@ -1163,7 +1163,7 @@ TYPED_TEST(ReloadTest, reloadMasterFile) {
RRType::TXT())->code);
}
-// Check the status holds data and can change the segment state
+// Check the status holds data
TEST(DataSourceStatus, status) {
const DataSourceStatus status("Test", SEGMENT_INUSE, "local");
EXPECT_EQ("Test", status.getName());
More information about the bind10-changes
mailing list