]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Remove unused class BackendReporter
authorChristian Hofstaedtler <christian@hofstaedtler.name>
Mon, 26 Jan 2015 23:09:00 +0000 (00:09 +0100)
committerChristian Hofstaedtler <christian@hofstaedtler.name>
Sun, 1 Feb 2015 13:55:23 +0000 (14:55 +0100)
pdns/ueberbackend.hh

index 9e6622b04180b9e0f9d01b0aff0b51c8867bff31..86006ab2348a0323f9976a1bc1e53686bbf9cecc 100644 (file)
@@ -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<DNSResourceRecord>&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 vector<BackendReporter>backendmakers;
-
   /** 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;
-  };
-  map<string,string>d_parameters;
-  UeberBackend::BackendMaker *maker; //!< function to make this backend
-  bool reported; //!< if this backend has been reported to running UeberBackend threads 
-private:
-};
-
 #endif