X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/e19683bedebc74593cb4c4518e47a334a5478e1e..17e6a2af9d56be8da3ee197a446a1ac7eedae800:/cache.h diff --git a/cache.h b/cache.h index 66cc41f..5cfdb4f 100644 --- a/cache.h +++ b/cache.h @@ -30,6 +30,9 @@ extern int cache_process(int size, const char *path, const char *key, int ttl, 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 */