From: Christian Hofstaedtler Date: Sun, 20 Oct 2013 13:04:34 +0000 (+0200) Subject: bring all setFresh definitions in sync X-Git-Tag: rec-3.6.0-rc1~391^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04016da653a933b10e715a2a1f366139e9d39038;p=thirdparty%2Fpdns.git bring all setFresh definitions in sync --- diff --git a/modules/luabackend/luabackend.hh b/modules/luabackend/luabackend.hh index f7057088ee..204a7b3f3e 100644 --- a/modules/luabackend/luabackend.hh +++ b/modules/luabackend/luabackend.hh @@ -51,7 +51,7 @@ public: bool getDomainInfo(const string &domain, DomainInfo &di); bool isMaster(const string &name, const string &ip); void getUnfreshSlaveInfos(vector* domains); - void setFresh(int id); + void setFresh(uint32_t id); bool startTransaction(const string &qname, int id); bool commitTransaction(); diff --git a/modules/luabackend/slave.cc b/modules/luabackend/slave.cc index a2d2959a1a..e967a9b6d3 100644 --- a/modules/luabackend/slave.cc +++ b/modules/luabackend/slave.cc @@ -31,7 +31,7 @@ virtual bool getDomainInfo(const string &domain, DomainInfo &di); virtual bool isMaster(const string &name, const string &ip); virtual void getUnfreshSlaveInfos(vector* domains); - virtual void setFresh(int id); + virtual void setFresh(uint32_t id); */ bool LUABackend::startTransaction(const string &qname, int id) { @@ -161,7 +161,7 @@ bool LUABackend::feedRecord(const DNSResourceRecord &rr) { return ok; } -void LUABackend::setFresh(int id) { +void LUABackend::setFresh(uint32_t id) { if (f_lua_setfresh == 0) return; diff --git a/pdns/docs/pdns.xml b/pdns/docs/pdns.xml index e4822742b4..f2ead50390 100755 --- a/pdns/docs/pdns.xml +++ b/pdns/docs/pdns.xml @@ -22353,7 +22353,7 @@ static RandomLoader randomloader; virtual bool abortTransaction(); virtual bool feedRecord(const DNSResourceRecord &rr); virtual void getUnfreshSlaveInfos(vector<DomainInfo>* domains); - virtual void setFresh(int id); + virtual void setFresh(uint32_t id); /* ... */ }