]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - pdns/auth-packetcache.hh
wip
[thirdparty/pdns.git] / pdns / auth-packetcache.hh
index 0d3af47a251ef2cc7f85373a86001b424178f8e6..bc3c2f35bd8075b47db12ce0d106f1254ab0b6ba 100644 (file)
@@ -89,6 +89,11 @@ private:
     uint32_t hash{0};
     uint16_t qtype{0};
     bool tcp{false};
+
+    time_t getTTD() const
+    {
+      return ttd;
+    }
   };
 
   struct HashTag{};
@@ -145,4 +150,9 @@ private:
   bool d_cleanskipped{false};
 
   static const unsigned int s_mincleaninterval=1000, s_maxcleaninterval=300000;
+
+public:
+  void preRemoval(const CacheEntry&)
+  {
+  }
 };