]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2276] Rename find_internal() to findInternal() as per naming convention
authorMukund Sivaraman <muks@isc.org>
Sun, 30 Sep 2012 20:31:37 +0000 (02:01 +0530)
committerMukund Sivaraman <muks@isc.org>
Sun, 30 Sep 2012 20:31:37 +0000 (02:01 +0530)
src/lib/datasrc/memory/zone_finder.cc
src/lib/datasrc/memory/zone_finder.h

index 4325f4715b7e30cebc8a052d68b4bdc367166f9a..6cd8dc6651e59120f9702cba650eaf6a0068cda3 100644 (file)
@@ -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.
index 85e21c300973d77f4fddc631584ff2bc644bdce3..c95b5bcef7c719a56bed83d00976f1a6b24aa829 100644 (file)
@@ -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,