From: Christian Hofstaedtler Date: Mon, 26 Jan 2015 23:09:00 +0000 (+0100) Subject: Remove unused class BackendReporter X-Git-Tag: dnsdist-1.0.0-alpha1~306^2~1^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5cb09b7441b727ae262d8752d0c5914eb3fd776c;p=thirdparty%2Fpdns.git Remove unused class BackendReporter --- diff --git a/pdns/ueberbackend.hh b/pdns/ueberbackend.hh index 9e6622b041..86006ab234 100644 --- a/pdns/ueberbackend.hh +++ b/pdns/ueberbackend.hh @@ -43,8 +43,6 @@ #include "namespaces.hh" -class BackendReporter; - /** This is a very magic backend that allows us to load modules dynamically, and query them in order. This is persistent over all UeberBackend instantiations across multiple threads. @@ -61,11 +59,6 @@ public: bool superMasterBackend(const string &ip, const string &domain, const vector&nsset, string *nameserver, string *account, DNSBackend **db); - /** contains BackendReporter objects, which contain maker functions and information about - weather a module has already been reported to existing instances of the UeberBackend - */ -// static vectorbackendmakers; - /** Tracks all created UeberBackend instances for us. We use this vector to notify existing threads of new modules */ @@ -172,21 +165,4 @@ private: int domain_id; }; - -/** Class used to report new backends. It stores a maker function, and a flag that indicates that - this module has been reported */ -class BackendReporter -{ -public: - BackendReporter(UeberBackend::BackendMaker *p) - { - maker=p; - reported=false; - }; - mapd_parameters; - UeberBackend::BackendMaker *maker; //!< function to make this backend - bool reported; //!< if this backend has been reported to running UeberBackend threads -private: -}; - #endif