From: Mukund Sivaraman Date: Thu, 3 Jan 2013 09:28:13 +0000 (+0530) Subject: [2432] Document whether rrsets can be modified after being added X-Git-Tag: bind10-1.0.0-rc-release~142 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cfbb9eada0a6e0ff8a2faead73f870d3ca3400fc;p=thirdparty%2Fkea.git [2432] Document whether rrsets can be modified after being added --- diff --git a/src/lib/dns/rrset_collection.h b/src/lib/dns/rrset_collection.h index ba68dc5ce1..fe9152c22e 100644 --- a/src/lib/dns/rrset_collection.h +++ b/src/lib/dns/rrset_collection.h @@ -77,6 +77,10 @@ public: /// and managed by the \c RRsetCollection. It throws an /// \c isc::InvalidParameter exception if an rrset with the same /// class, type and name already exists. + /// + /// Callers must not modify the RRset after adding it to the + /// collection, as the rrset is indexed internally by the + /// collection. void addRRset(isc::dns::RRsetPtr rrset); /// \brief Remove an RRset from the collection.