X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/939d32fda70ea66c9db51687beb3cea6da7b0599..9000bbf865cb3578ba5ed3810dc44253cb46ec7f:/cache.h diff --git a/cache.h b/cache.h index 5f2178d..66cc41f 100644 --- a/cache.h +++ b/cache.h @@ -26,6 +26,9 @@ extern int cache_process(int size, const char *path, const char *key, int ttl, cache_fill_fn fn, void *cbdata); +/* List info about all cache entries on stdout */ +extern int cache_ls(const char *path); + /* Print a message to stdout */ extern void cache_log(const char *format, ...);