BIND 10 trac2431, updated. 96c937e42484472389a2511b06b017adf502c98e [2431] Add proto for RRClass::fromText()
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Dec 17 07:40:49 UTC 2012
The branch, trac2431 has been updated
via 96c937e42484472389a2511b06b017adf502c98e (commit)
from 693ff3e2fcba8c216e1720e3d561b27f16357190 (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 96c937e42484472389a2511b06b017adf502c98e
Author: Mukund Sivaraman <muks at isc.org>
Date: Mon Dec 17 13:10:36 2012 +0530
[2431] Add proto for RRClass::fromText()
-----------------------------------------------------------------------
Summary of changes:
src/lib/dns/rrclass-placeholder.h | 14 ++++++++++++++
1 file changed, 14 insertions(+)
-----------------------------------------------------------------------
diff --git a/src/lib/dns/rrclass-placeholder.h b/src/lib/dns/rrclass-placeholder.h
index 70d6b78..5ebc2d5 100644
--- a/src/lib/dns/rrclass-placeholder.h
+++ b/src/lib/dns/rrclass-placeholder.h
@@ -181,6 +181,20 @@ public:
/// \param renderer DNS message rendering context that encapsulates the
/// output buffer in which the RRClass is to be stored.
void toWire(isc::util::OutputBuffer& buffer) const;
+
+ /// \brief Assign this \c RRClass from string.
+ ///
+ /// This method assigns this \c RRClass from the string
+ /// representation passed in \c class_str. For the format of this
+ /// string, see the <code>RRClass(const std::string&)</code>
+ /// constructor.
+ ///
+ /// If the conversion from string passes, true is
+ /// returned. Otherwise false is returned.
+ ///
+ /// \param class_str A string representation of the \c RRClass
+ /// \return true if \c class_str was valid, false otherwise.
+ bool fromText(const std::string& class_str);
//@}
///
More information about the bind10-changes
mailing list