Commit eff1c6bc authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

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

parent 92daff7e
...@@ -695,8 +695,8 @@ InMemoryZoneFinder::find(const isc::dns::Name& name, ...@@ -695,8 +695,8 @@ InMemoryZoneFinder::find(const isc::dns::Name& name,
const FindOptions options) const FindOptions options)
{ {
return (ZoneFinderContextPtr(new Context(*this, options, rrclass_, return (ZoneFinderContextPtr(new Context(*this, options, rrclass_,
find_internal(name, type, findInternal(name, type,
NULL, options)))); NULL, options))));
} }
boost::shared_ptr<ZoneFinder::Context> boost::shared_ptr<ZoneFinder::Context>
...@@ -705,17 +705,17 @@ InMemoryZoneFinder::findAll(const isc::dns::Name& name, ...@@ -705,17 +705,17 @@ InMemoryZoneFinder::findAll(const isc::dns::Name& name,
const FindOptions options) const FindOptions options)
{ {
return (ZoneFinderContextPtr(new Context(*this, options, rrclass_, return (ZoneFinderContextPtr(new Context(*this, options, rrclass_,
find_internal(name, findInternal(name,
RRType::ANY(), RRType::ANY(),
&target, &target,
options)))); options))));
} }
ZoneFinderResultContext ZoneFinderResultContext
InMemoryZoneFinder::find_internal(const isc::dns::Name& name, InMemoryZoneFinder::findInternal(const isc::dns::Name& name,
const isc::dns::RRType& type, const isc::dns::RRType& type,
std::vector<ConstRRsetPtr>* target, std::vector<ConstRRsetPtr>* target,
const FindOptions options) const FindOptions options)
{ {
// Get the node. All other cases than an exact match are handled // Get the node. All other cases than an exact match are handled
// in findNode(). We simply construct a result structure and return. // in findNode(). We simply construct a result structure and return.
......
...@@ -92,7 +92,7 @@ private: ...@@ -92,7 +92,7 @@ private:
class Context; class Context;
/// Actual implementation for both find() and findAll() /// Actual implementation for both find() and findAll()
internal::ZoneFinderResultContext find_internal( internal::ZoneFinderResultContext findInternal(
const isc::dns::Name& name, const isc::dns::Name& name,
const isc::dns::RRType& type, const isc::dns::RRType& type,
std::vector<isc::dns::ConstRRsetPtr>* target, std::vector<isc::dns::ConstRRsetPtr>* target,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment