aboutsummaryrefslogtreecommitdiffstats
path: root/src/algo_factory/algo_factory.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-07-27 21:18:33 +0000
committerlloyd <[email protected]>2010-07-27 21:18:33 +0000
commit0c0655ea9c97618716fe2f11355e81b6f6a7a81b (patch)
tree0aae42e3071d83f8056e9e0f9bd630618feff6a5 /src/algo_factory/algo_factory.h
parent3531f7981256d7ff45cdcb4c96d4f339c0db1b93 (diff)
Expose Algorithm_Factory::clear_caches which clears out all of the
caches; this might be useful for applications which are, say, particularly sensitive to memory usage.
Diffstat (limited to 'src/algo_factory/algo_factory.h')
-rw-r--r--src/algo_factory/algo_factory.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/algo_factory/algo_factory.h b/src/algo_factory/algo_factory.h
index 5e0e49f13..f7e85202b 100644
--- a/src/algo_factory/algo_factory.h
+++ b/src/algo_factory/algo_factory.h
@@ -50,6 +50,11 @@ class BOTAN_DLL Algorithm_Factory
void add_engine(class Engine* engine);
/**
+ * Clear out any cached objects
+ */
+ void clear_caches();
+
+ /**
* @param algo_spec the algorithm we are querying
* @returns list of providers of this algorithm
*/