57 typedef struct _lru_cache
82 uint32_t secret,
bool talloc_data);
97 uint32_t index_len,
void* data);
bool lru_cache_update(lru_cache *ht, const void *index, uint32_t index_len, void *data)
XXX: finish documenting.
Definition: lru_cache.c:159
lru_cache * lru_cache_create(uint32_t max_keys, uint32_t secret)
XXX: finish documenting.
Definition: lru_cache.c:105
void lru_cache_destroy(lru_cache *ht)
XXX: finish documenting.
Definition: lru_cache.c:151
lru_cache * lru_cache_create_ctx(void *talloc_ctx, uint32_t max_keys, uint32_t secret, bool talloc_data)
XXX: finish documenting.
Definition: lru_cache.c:111
void * lru_cache_find(lru_cache *ht, const void *index, uint32_t index_len)
XXX: finish documenting.
Definition: lru_cache.c:280
bool lru_cache_remove(lru_cache *ht, const void *index, uint32_t index_len)
XXX: finish documenting.
Definition: lru_cache.c:318
Definition: lru_cache.h:46
XXX: document this.
Definition: lru_cache.h:58