X-Git-Url: https://git.cameronkatri.com/cgit.git/blobdiff_plain/939d32fda70ea66c9db51687beb3cea6da7b0599..48f7b982d3bb52f1307df73ceb6dd4cab3fdcc80:/cache.h diff --git a/cache.h b/cache.h index 5f2178d..ac9276b 100644 --- a/cache.h +++ b/cache.h @@ -26,7 +26,12 @@ 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, ...); +extern unsigned long hash_str(const char *str); + #endif /* CGIT_CACHE_H */