]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/dns.h
Add specialization for ConvToStr on a single char, return std::string(in,1) :p
[user/henk/code/inspircd.git] / include / dns.h
index c7283f6b864dcfb4581f6f7edb366d800f3c65eb..562a493221c23eb91a6d92206a8c8f594058f646 100644 (file)
@@ -326,6 +326,8 @@ class DNS : public EventHandler
         */
        dnscache* cache;
 
+       class CacheTimer* PruneTimer;
+
        /**
         * Build a dns packet payload
         */
@@ -448,6 +450,9 @@ class DNS : public EventHandler
        CachedQuery* GetCache(const std::string &source);
 
        void DelCache(const std::string &source);
+
+       int ClearCache();
+       int PruneCache();
 };
 
 #endif