X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/939d32fda70ea66c9db51687beb3cea6da7b0599..b115955d71c50cd2d0065c45f3df6b02fa4730bd:/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, ...);