BIND 10 trac749, updated. ff81e1bf773d5d18656f75ed144f278cc0734a88 [trac749] update placeholder scripts

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Apr 12 15:04:15 UTC 2011


The branch, trac749 has been updated
       via  ff81e1bf773d5d18656f75ed144f278cc0734a88 (commit)
      from  ecfc86a4afb1d26fcd48054b0406e153daf571ee (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 ff81e1bf773d5d18656f75ed144f278cc0734a88
Author: chenzhengzhang <jerry.zzpku at gmail.com>
Date:   Tue Apr 12 23:03:06 2011 +0800

    [trac749] update placeholder scripts

-----------------------------------------------------------------------

Summary of changes:
 src/lib/dns/edns.cc                        |    4 ++--
 src/lib/dns/rdata.cc                       |    6 +++---
 src/lib/dns/rdata/generic/nsec3_50.cc      |    2 +-
 src/lib/dns/rrclass-placeholder.h          |   13 +++++++++----
 src/lib/dns/rrparamregistry-placeholder.cc |    1 +
 src/lib/dns/rrtype-placeholder.h           |   13 +++++++++----
 6 files changed, 25 insertions(+), 14 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/dns/edns.cc b/src/lib/dns/edns.cc
index ebdad81..c6cb2cc 100644
--- a/src/lib/dns/edns.cc
+++ b/src/lib/dns/edns.cc
@@ -144,8 +144,8 @@ EDNS::toWire(MessageRenderer& renderer, const uint8_t extended_rcode) const {
 }
 
 unsigned int
-EDNS::toWire(OutputBuffer& buffer, const uint8_t extended_rcode) const {
-    return (toWire<OutputBuffer>(buffer, extended_rcode));
+EDNS::toWire(isc::util::io::OutputBuffer& buffer, const uint8_t extended_rcode) const {
+    return (toWire<isc::util::io::OutputBuffer>(buffer, extended_rcode));
 }
 
 EDNS*
diff --git a/src/lib/dns/rdata.cc b/src/lib/dns/rdata.cc
index 4e5ec0e..e23727f 100644
--- a/src/lib/dns/rdata.cc
+++ b/src/lib/dns/rdata.cc
@@ -54,7 +54,7 @@ createRdata(const RRType& rrtype, const RRClass& rrclass,
 
 RdataPtr
 createRdata(const RRType& rrtype, const RRClass& rrclass,
-            InputBuffer& buffer, size_t len)
+            isc::util::io::InputBuffer& buffer, size_t len)
 {
     if (len > MAX_RDLENGTH) {
         isc_throw(InvalidRdataLength, "RDLENGTH too large");
@@ -105,7 +105,7 @@ struct GenericImpl {
     vector<uint8_t> data_;
 };
 
-Generic::Generic(InputBuffer& buffer, size_t rdata_len) {
+Generic::Generic(isc::util::io::InputBuffer& buffer, size_t rdata_len) {
     if (rdata_len > MAX_RDLENGTH) {
         isc_throw(InvalidRdataLength, "RDLENGTH too large");
     }
@@ -224,7 +224,7 @@ Generic::toText() const {
 }
 
 void
-Generic::toWire(OutputBuffer& buffer) const {
+Generic::toWire(isc::util::io::OutputBuffer& buffer) const {
     buffer.writeData(&impl_->data_[0], impl_->data_.size());
 }
 
diff --git a/src/lib/dns/rdata/generic/nsec3_50.cc b/src/lib/dns/rdata/generic/nsec3_50.cc
index 3efdfeb..1613623 100644
--- a/src/lib/dns/rdata/generic/nsec3_50.cc
+++ b/src/lib/dns/rdata/generic/nsec3_50.cc
@@ -38,7 +38,7 @@
 
 using namespace std;
 using namespace isc::dns::rdata::generic::detail::nsec;
-using namespace isc::util::comapt;
+using namespace isc::util::compat;
 using namespace isc::util::io;
 
 // BEGIN_ISC_NAMESPACE
diff --git a/src/lib/dns/rrclass-placeholder.h b/src/lib/dns/rrclass-placeholder.h
index ce9a141..b14179b 100644
--- a/src/lib/dns/rrclass-placeholder.h
+++ b/src/lib/dns/rrclass-placeholder.h
@@ -23,11 +23,16 @@
 #include <exceptions/exceptions.h>
 
 namespace isc {
+namespace util {
+namespace io {
+class InputBuffer;
+class OutputBuffer;
+}
+}
+
 namespace dns {
 
 // forward declarations
-class InputBuffer;
-class OutputBuffer;
 class MessageRenderer;
 
 ///
@@ -132,7 +137,7 @@ public:
     /// an exception of class \c IncompleteRRClass will be thrown.
     ///
     /// \param buffer A buffer storing the wire format data.
-    explicit RRClass(InputBuffer& buffer);
+    explicit RRClass(isc::util::io::InputBuffer& buffer);
     ///
     /// We use the default copy constructor intentionally.
     //@}
@@ -177,7 +182,7 @@ public:
     ///
     /// \param renderer DNS message rendering context that encapsulates the
     /// output buffer in which the RRClass is to be stored.
-    void toWire(OutputBuffer& buffer) const;
+    void toWire(isc::util::io::OutputBuffer& buffer) const;
     //@}
 
     ///
diff --git a/src/lib/dns/rrparamregistry-placeholder.cc b/src/lib/dns/rrparamregistry-placeholder.cc
index 19363a3..735c699 100644
--- a/src/lib/dns/rrparamregistry-placeholder.cc
+++ b/src/lib/dns/rrparamregistry-placeholder.cc
@@ -36,6 +36,7 @@
 using namespace std;
 using namespace boost;
 
+using namespace isc::util::io;
 using namespace isc::dns::rdata; 
 
 namespace isc {
diff --git a/src/lib/dns/rrtype-placeholder.h b/src/lib/dns/rrtype-placeholder.h
index 76cb29d..6dd4f88 100644
--- a/src/lib/dns/rrtype-placeholder.h
+++ b/src/lib/dns/rrtype-placeholder.h
@@ -23,11 +23,16 @@
 #include <exceptions/exceptions.h>
 
 namespace isc {
+namespace util {
+namespace io {
+class InputBuffer;
+class OutputBuffer;
+}
+}
+
 namespace dns {
 
 // forward declarations
-class InputBuffer;
-class OutputBuffer;
 class MessageRenderer;
 
 ///
@@ -145,7 +150,7 @@ public:
     /// an exception of class \c IncompleteRRType will be thrown.
     ///
     /// \param buffer A buffer storing the wire format data.
-    explicit RRType(InputBuffer& buffer);
+    explicit RRType(isc::util::io::InputBuffer& buffer);
     ///
     /// We use the default copy constructor intentionally.
     //@}
@@ -189,7 +194,7 @@ public:
     ///
     /// \param renderer DNS message rendering context that encapsulates the
     /// output buffer in which the RRType is to be stored.
-    void toWire(OutputBuffer& buffer) const;
+    void toWire(isc::util::io::OutputBuffer& buffer) const;
     //@}
 
     ///




More information about the bind10-changes mailing list