#include <unistd.h>
#include <boost/foreach.hpp>
-using namespace boost;
+
StatBag S;
static bool g_doDNSSEC;
static int g_domainid;
string::size_type pos = content.find_first_not_of("0123456789");
if(pos != string::npos)
- erase_head(content, pos);
+ boost::erase_head(content, pos);
trim_left(content);
}
#include <boost/foreach.hpp>
#include <boost/format.hpp>
-using namespace boost;
+
void GSQLBackend::setNotified(uint32_t domain_id, uint32_t serial)
{
di.backend=this;
string type=d_result[0][5];
- if(iequals(type,"SLAVE")) {
+ if(pdns_iequals(type,"SLAVE")) {
di.serial=0;
try {
SOAData sd;
di.kind=DomainInfo::Slave;
}
- else if(iequals(type,"MASTER"))
+ else if(pdns_iequals(type,"MASTER"))
di.kind=DomainInfo::Master;
else
di.kind=DomainInfo::Native;
using namespace boost::assign;
#include "namespaces.hh"
-using namespace boost;
+
DNSSECKeeper::keycache_t DNSSECKeeper::s_keycache;
DNSSECKeeper::metacache_t DNSSECKeeper::s_metacache;