From: Christian Hofstaedtler Date: Fri, 27 Sep 2013 12:55:40 +0000 (+0200) Subject: introduce new setMaster/setKind functions X-Git-Tag: rec-3.6.0-rc1~428^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d58359c3a9d53361097ae856cc0a6334a592789;p=thirdparty%2Fpdns.git introduce new setMaster/setKind functions --- diff --git a/pdns/dnsbackend.hh b/pdns/dnsbackend.hh index f6795ce1e8..a95a9f6b86 100644 --- a/pdns/dnsbackend.hh +++ b/pdns/dnsbackend.hh @@ -281,6 +281,18 @@ public: { } + //! Called when the Master of a domain should be changed + virtual bool setMaster(const string &domain, const string &ip) + { + return false; + } + + //! Called when the Kind of a domain should be changed (master -> native and similar) + virtual bool setKind(const string &domain, const DomainInfo::DomainKind kind) + { + return false; + } + //! Can be called to seed the getArg() function with a prefix void setArgPrefix(const string &prefix);