Browse Source

[1579] made some definitions of ZoneFinder private.

They are only used for FindDNSSECContext, which is part of ZoneFinder
and can refer to its private members.
JINMEI Tatuya 13 years ago
parent
commit
33f9ea32c6
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/lib/datasrc/database.h

+ 3 - 2
src/lib/datasrc/database.h

@@ -898,18 +898,19 @@ public:
             return (*accessor_);
             return (*accessor_);
         }
         }
 
 
+    private:
         /// \brief check whether zone is signed with nsec
         /// \brief check whether zone is signed with nsec
         ///
         ///
         /// searches the NSEC3PARAM RRset in the zone apex, if it exists, the
         /// searches the NSEC3PARAM RRset in the zone apex, if it exists, the
         /// zone looks signed with nsec
         /// zone looks signed with nsec
         bool isNSEC();
         bool isNSEC();
+
         /// \brief check whether zone is signed with nsec3
         /// \brief check whether zone is signed with nsec3
         ///
         ///
         /// searches the NSEC3PARAM RRset in the zone apex, if it exists, the
         /// searches the NSEC3PARAM RRset in the zone apex, if it exists, the
         /// zone looks signed with nsec3
         /// zone looks signed with nsec3
         bool isNSEC3();
         bool isNSEC3();
 
 
-    private:
         boost::shared_ptr<DatabaseAccessor> accessor_;
         boost::shared_ptr<DatabaseAccessor> accessor_;
         const int zone_id_;
         const int zone_id_;
         const isc::dns::Name origin_;
         const isc::dns::Name origin_;
@@ -934,7 +935,7 @@ public:
                                    std::vector<isc::dns::ConstRRsetPtr>*
                                    std::vector<isc::dns::ConstRRsetPtr>*
                                    target,
                                    target,
                                    const FindOptions options = FIND_DEFAULT);
                                    const FindOptions options = FIND_DEFAULT);
-    public:
+
         /// \brief Searches database for RRsets of one domain.
         /// \brief Searches database for RRsets of one domain.
         ///
         ///
         /// This method scans RRs of single domain specified by name and
         /// This method scans RRs of single domain specified by name and