[svn] commit: r75 - in /experiments/jinmei-messageapi: iobuffer.hh rrset.hh

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Oct 7 23:50:20 UTC 2009


Author: jinmei
Date: Wed Oct  7 23:50:20 2009
New Revision: 75

Log:
unfold some short lines
added missing .h's for some platforms

Modified:
    experiments/jinmei-messageapi/iobuffer.hh
    experiments/jinmei-messageapi/rrset.hh

Modified: experiments/jinmei-messageapi/iobuffer.hh
==============================================================================
--- experiments/jinmei-messageapi/iobuffer.hh (original)
+++ experiments/jinmei-messageapi/iobuffer.hh Wed Oct  7 23:50:20 2009
@@ -19,6 +19,11 @@
 
 #include <sys/types.h>
 #include <sys/socket.h>
+
+#include <netinet/in.h>
+
+#include <stdint.h>
+#include <string.h>
 
 #include <stdexcept>
 #include <algorithm>

Modified: experiments/jinmei-messageapi/rrset.hh
==============================================================================
--- experiments/jinmei-messageapi/rrset.hh (original)
+++ experiments/jinmei-messageapi/rrset.hh Wed Oct  7 23:50:20 2009
@@ -134,8 +134,7 @@
 };
 
 // WireFormat Rdata.
-// Whether to have this as a separate concrete class is an
-// open issue.
+// Whether to have this as a separate concrete class is an open issue.
 class WireRdata : public Rdata {
 public:
     WireRdata() {}
@@ -172,8 +171,7 @@
     virtual bool operator!=(const ARdata &other) const
     { return !(*this == other); }
 private:
-    // XXX: should probably define an "address class"
-    // and use it.
+    // XXX: should probably define an "address class" and use it.
     struct in_addr _addr;
 };
 
@@ -216,8 +214,7 @@
     virtual bool operator!=(const AAAARdata &other) const
     { return !(*this == other); }
 private:
-    // XXX: should probably define an "address class"
-    // and use it.
+    // XXX: should probably define an "address class" and use it.
     struct in6_addr _addr;
 };
 




More information about the bind10-changes mailing list