* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*/
+/** @file lib/cache.c @brief Object caching */
#include <config.h>
#include "types.h"
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;
}
}
+/** @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;