X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/460b9539a7c15580e41a71bbc0f47ae776238915..ec6f84883b0a6d69bf01ae972f1adbe74a36f361:/lib/cache.h diff --git a/lib/cache.h b/lib/cache.h index f1aeccd..48aba1c 100644 --- a/lib/cache.h +++ b/lib/cache.h @@ -41,6 +41,9 @@ void cache_expire(void); void cache_clean(const struct cache_type *type); /* Clean all elements of a particular type, or all elements if TYPE=0 */ +size_t cache_count(void); +/* Return the size of the cache */ + #endif /* CACHE_H */ /* @@ -51,4 +54,3 @@ fill-column:79 indent-tabs-mode:nil End: */ -/* arch-tag:8TQYM58jrfK4bi9YaWTutQ */