Browse Source

[2276] Rename find_internal() to findInternal() as per naming convention

Mukund Sivaraman 12 years ago
parent
commit
eff1c6bcb8
2 changed files with 11 additions and 11 deletions
  1. 10 10
      src/lib/datasrc/memory/zone_finder.cc
  2. 1 1
      src/lib/datasrc/memory/zone_finder.h

+ 10 - 10
src/lib/datasrc/memory/zone_finder.cc

@@ -695,8 +695,8 @@ InMemoryZoneFinder::find(const isc::dns::Name& name,
                 const FindOptions options)
 {
     return (ZoneFinderContextPtr(new Context(*this, options, rrclass_,
-                                             find_internal(name, type,
-                                                           NULL, options))));
+                                             findInternal(name, type,
+                                                          NULL, options))));
 }
 
 boost::shared_ptr<ZoneFinder::Context>
@@ -705,17 +705,17 @@ InMemoryZoneFinder::findAll(const isc::dns::Name& name,
         const FindOptions options)
 {
     return (ZoneFinderContextPtr(new Context(*this, options, rrclass_,
-                                             find_internal(name,
-                                                           RRType::ANY(),
-                                                           &target,
-                                                           options))));
+                                             findInternal(name,
+                                                          RRType::ANY(),
+                                                          &target,
+                                                          options))));
 }
 
 ZoneFinderResultContext
-InMemoryZoneFinder::find_internal(const isc::dns::Name& name,
-                                  const isc::dns::RRType& type,
-                                  std::vector<ConstRRsetPtr>* target,
-                                  const FindOptions options)
+InMemoryZoneFinder::findInternal(const isc::dns::Name& name,
+                                 const isc::dns::RRType& type,
+                                 std::vector<ConstRRsetPtr>* target,
+                                 const FindOptions options)
 {
     // Get the node.  All other cases than an exact match are handled
     // in findNode().  We simply construct a result structure and return.

+ 1 - 1
src/lib/datasrc/memory/zone_finder.h

@@ -92,7 +92,7 @@ private:
     class Context;
 
     /// Actual implementation for both find() and findAll()
-    internal::ZoneFinderResultContext find_internal(
+    internal::ZoneFinderResultContext findInternal(
         const isc::dns::Name& name,
         const isc::dns::RRType& type,
         std::vector<isc::dns::ConstRRsetPtr>* target,