Lock l(&s_state_lock);
Bind2Backend bb2;
- BB2DomainInfo& bbd = bb2.createDomain(domainname, filename);
+ BB2DomainInfo& bbd = bb2.createDomainEntry(domainname, filename);
bbd.d_filename=filename;
bbd.d_checknow=true;
void Bind2Backend::loadConfig(string* status)
{
- // Interference with createDomain()
+ // Interference with createDomainEntry()
Lock l(&s_state_lock);
static int domain_id=1;
}
// NEED TO CALL THIS with s_state_lock held!
-BB2DomainInfo &Bind2Backend::createDomain(const string &domain, const string &filename)
+BB2DomainInfo &Bind2Backend::createDomainEntry(const string &domain, const string &filename)
{
int newid=1;
// Find a free zone id nr.
c_of << "};" << endl;
c_of.close();
- BB2DomainInfo &bbd = createDomain(canonic(domain), filename);
+ BB2DomainInfo &bbd = createDomainEntry(canonic(domain), filename);
bbd.d_masters.push_back(ip);
set<string> alsoNotify; //!< this is used to store the also-notify list of interested peers.
- BB2DomainInfo& createDomain(const string &domain, const string &filename);
+ BB2DomainInfo& createDomainEntry(const string &domain, const string &filename);
int d_transaction_id;
string d_transaction_tmpname;