return ret;
}
-void Bind2Backend::parseZoneFile(shared_ptr<State> staging, BB2DomainInfo *bbd, bool loaded)
+void Bind2Backend::parseZoneFile(shared_ptr<State> staging, BB2DomainInfo *bbd)
{
NSEC3PARAMRecordContent ns3pr;
bool nsec3zone=getNSEC3PARAM(bbd->d_name, &ns3pr);
doEmptyNonTerminals(staging, bbd->d_id, nsec3zone, ns3pr);
bbd->setCtime();
- bbd->d_loaded=loaded;
+ bbd->d_loaded=true;
bbd->d_status="parsed into memory at "+nowTime();
}
id_zone_map_t id_zone_map;
};
- void parseZoneFile(shared_ptr<State> staging, BB2DomainInfo *bbd, bool loaded=true);
+ void parseZoneFile(shared_ptr<State> staging, BB2DomainInfo *bbd);
static void insert(shared_ptr<State> stage, int id, const string &qname, const QType &qtype, const string &content, int ttl=300, int prio=25, const std::string& hashed=string());
void rediscover(string *status=0);