{
shared_ptr<State> state = getState();
for(id_zone_map_t::const_iterator i = state->id_zone_map.begin(); i != state->id_zone_map.end() ; ++i) { // why is this a linear scan??
- if(iequals(i->second.d_name,domain)) {
+ if(pdns_iequals(i->second.d_name,domain)) {
di.id=i->first;
di.zone=domain;
di.masters=i->second.d_masters;
string::size_type pos = bdr.content.find_first_not_of("0123456789");
if(pos != string::npos)
- erase_head(bdr.content, pos);
+ boost::erase_head(bdr.content, pos);
trim_left(bdr.content);
}
#include "misc.hh"
#include "namespaces.hh"
-using namespace boost;
using namespace ::boost::multi_index;
-
/** This struct is used within the Bind2Backend to store DNS information.
It is almost identical to a DNSResourceRecord, but then a bit smaller and with different sorting rules, which make sure that the SOA record comes up front.
*/