From 91a3d1324b70945b52acb607470336c562280ff4 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 5 Nov 2007 19:52:16 +0000 Subject: Rehash method added which frees unused memory from the hash_map. Has a delete-safe iterator. see comments. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8542 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/bancache.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/bancache.h b/include/bancache.h index 19fc0d952..2ae740ece 100644 --- a/include/bancache.h +++ b/include/bancache.h @@ -62,6 +62,8 @@ class CoreExport BanCacheManager : public classbase this->ServerInstance = Instance; this->BanHash = new BanCacheHash(); } + + void RehashCache(); }; #endif -- cgit v1.2.3