X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/9000bbf865cb3578ba5ed3810dc44253cb46ec7f..d6e9200cc35411f3f27426b608bcfdef9348e6d3:/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 */