]> gitweb.ps.run Git - ps-cgit/blobdiff - cache.h
authors: specify maintainers
[ps-cgit] / cache.h
diff --git a/cache.h b/cache.h
index 5f2178deec5f1a93b2a6b002c495dfd4f7ca478a..5cfdb4f37a2a82f5d83f073628d4d3803c97a551 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -26,7 +26,13 @@ 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 */
+__attribute__((format (printf,1,2)))
 extern void cache_log(const char *format, ...);
 
+extern unsigned long hash_str(const char *str);
+
 #endif /* CGIT_CACHE_H */