group
group__libshare__syscache
Provides the capability to store and retrieve temporary named binary segments.
Temporary Content Cache
The time-to-live for cached content is configured by the "cache.expire" share preference. The value is specified in seconds and defaults to 3600 (one hour).
Example: shpref cache.expire 3600
char* shcache_path
(const char *tag)
int shcache_write
(const char *tag, shbuf_t *buff)
int shcache_read
(const char *tag, shbuf_t *buff)
int shcache_fresh
(const char *tag)
void shcache_purge
(char *path)
time_t shcache_ttl
(void)