X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/14ad73b94d56fb8558eabfef431c34e12de00478..ad2f8275a5fc0dba29ca97bc02342d1f1627e590:/lib/cache.c diff --git a/lib/cache.c b/lib/cache.c index bc6bc81..faca540 100644 --- a/lib/cache.c +++ b/lib/cache.c @@ -84,6 +84,7 @@ const void *cache_get(const struct cache_type *type, const char *key) { return 0; } +/** @brief Call used by from cache_expire() */ static int expiry_callback(const char *key, void *value, void *u) { const struct cache_entry *c = value; const time_t *now = u; @@ -105,6 +106,7 @@ void cache_expire(void) { } } +/** @brief Callback used by cache_clean() */ static int clean_callback(const char *key, void *value, void *u) { const struct cache_entry *c = value; const struct cache_type *type = u;