[svn] commit: r4092 - /branches/trac453/src/bin/auth/query.h

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Dec 30 09:00:37 UTC 2010


Author: chenzhengzhang
Date: Thu Dec 30 09:00:36 2010
New Revision: 4092

Log:
fix code style

Modified:
    branches/trac453/src/bin/auth/query.h

Modified: branches/trac453/src/bin/auth/query.h
==============================================================================
--- branches/trac453/src/bin/auth/query.h (original)
+++ branches/trac453/src/bin/auth/query.h Thu Dec 30 09:00:36 2010
@@ -62,6 +62,36 @@
 /// accidentally, and since it's considered a temporary development state,
 /// we keep this name at the moment.
 class Query {
+private:
+    /// Look up additional data (i.e., address records for the names included
+    /// in NS or MX records).
+    ///
+    /// This method may throw a exception because its underlying methods may
+    /// throw exceptions.
+    ///
+    /// \param zone The Zone wherein the additional data to the query is bo be
+    /// found.
+    /// \param rrset The RRset (i.e., NS or MX rrset) which require additional
+    /// processing.
+    void getAdditional(const isc::datasrc::Zone& zone,
+                       const isc::dns::RRset& rrset) const;
+
+    /// Find address records for a specified name.
+    ///
+    /// Search the specified zone for AAAA/A RRs of each of the NS/MX RDATA
+    /// (domain name), and insert the found ones into the additional section
+    /// if address records are available.
+    ///
+    /// Note: we need to perform the search in the "GLUE OK" mode for NS RDATA,
+    /// which means that we should include A/AAAA RRs under a zone cut.
+    /// The glue records must exactly match the name in the NS RDATA, without
+    /// CNAME or wildcard processing.
+    ///
+    /// \param zone The Zone wherein the address records is to be found.
+    /// \param qname The name in rrset RDATA.
+    void findAddrs(const isc::datasrc::Zone& zone,
+                   const isc::dns::Name& qname) const;
+
 public:
     /// Constructor from query parameters.
     ///
@@ -107,35 +137,6 @@
     void process() const;
 
 private:
-    /// Look up additional data (i.e., address records for the names included
-    /// in NS or MX records).
-    ///
-    /// This method may throw a exception because its underlying methods may
-    /// throw exceptions.
-    ///
-    /// \param zone The Zone wherein the additional data to the query is bo be
-    /// found.
-    /// \param rrset The RRset (i.e., NS or MX rrset) which require additional
-    /// processing.
-    void getAdditional(const isc::datasrc::Zone& zone,
-                       const isc::dns::RRset& rrset) const;
-
-    /// Find address records for a specified name.
-    ///
-    /// Search the specified zone for AAAA/A RRs of each of the NS/MX RDATA
-    /// (domain name), and insert the found ones into the additional section
-    /// if address records are available.
-    ///
-    /// Note: we need to perform the search in the "GLUE OK" mode for NS RDATA,
-    /// which means that we should include A/AAAA RRs under a zone cut.
-    /// The glue records must exactly match the name in the NS RDATA, without
-    /// CNAME or wildcard processing.
-    ///
-    /// \param zone The Zone wherein the address records is to be found.
-    /// \param qname The name in rrset RDATA.
-    void findAddrs(const isc::datasrc::Zone& zone,
-                   const isc::dns::Name& qname) const;
-
     const isc::datasrc::MemoryDataSrc& memory_datasrc_;
     const isc::dns::Name& qname_;
     const isc::dns::RRType& qtype_;




More information about the bind10-changes mailing list