chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doxygen
[disorder]
/
lib
/
cache.h
diff --git
a/lib/cache.h
b/lib/cache.h
index 7a49fd9079df1bf96fda5b18f7d6bae386e868d4..48aba1c80e88a61eed830ab446c88df344e4d0e4 100644
(file)
--- 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 */
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 */
/*
#endif /* CACHE_H */
/*