* key the key used to lookup cache files
* ttl max cache time in seconds for this key
* fn content generator function for this key
* key the key used to lookup cache files
* ttl max cache time in seconds for this key
* fn content generator function for this key
*/
extern int cache_process(int size, const char *path, const char *key, int ttl,
*/
extern int cache_process(int size, const char *path, const char *key, int ttl,
/* List info about all cache entries on stdout */
extern int cache_ls(const char *path);
/* Print a message to stdout */
/* 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);
extern void cache_log(const char *format, ...);
extern unsigned long hash_str(const char *str);