[svn] commit: r4142 - in /branches/trac449/src/lib/cache: rrset_entry.cc rrset_entry.h

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Jan 4 03:20:39 UTC 2011


Author: zhanglikun
Date: Tue Jan  4 03:20:38 2011
New Revision: 4142

Log:
Change the interface of genRRset

Modified:
    branches/trac449/src/lib/cache/rrset_entry.cc
    branches/trac449/src/lib/cache/rrset_entry.h

Modified: branches/trac449/src/lib/cache/rrset_entry.cc
==============================================================================
--- branches/trac449/src/lib/cache/rrset_entry.cc (original)
+++ branches/trac449/src/lib/cache/rrset_entry.cc Tue Jan  4 03:20:38 2011
@@ -29,8 +29,8 @@
 {
 }
 
-void
-RRsetEntry::genRRset(isc::dns::RRset&) const {
+boost::shared_ptr<RRset>
+RRsetEntry::genRRset() const {
 }
 
 time_t

Modified: branches/trac449/src/lib/cache/rrset_entry.h
==============================================================================
--- branches/trac449/src/lib/cache/rrset_entry.h (original)
+++ branches/trac449/src/lib/cache/rrset_entry.h Tue Jan  4 03:20:38 2011
@@ -67,7 +67,7 @@
     RRsetEntry(const isc::dns::RRset& rrset, const RRsetTrustLevel& level);
 
     /// \brief Generate one rrset according the entry information.
-    void genRRset(isc::dns::RRset& rrset) const;
+    boost::shared_ptr<RRset> genRRset() const;
     
     /// \brief Get the expiration time of the rrset.
     time_t getExpireTime() const;




More information about the bind10-changes mailing list