1 #ifndef ACL_CACHE_INCLUDE_H 2 #define ACL_CACHE_INCLUDE_H
ACL_API ACL_CACHE_INFO * acl_cache_enter(ACL_CACHE *cache, const char *key, void *value)
ACL_API int acl_cache_timeout(ACL_CACHE *cache)
ACL_API int acl_cache_size(ACL_CACHE *cache)
ACL_API void acl_cache_update2(ACL_CACHE *cache, ACL_CACHE_INFO *info, int timeout)
ACL_API void acl_cache_refer2(ACL_CACHE *cache, const char *key)
ACL_API int acl_cache_delete(ACL_CACHE *cache, ACL_CACHE_INFO *info)
ACL_API ACL_CACHE * acl_cache_create(int max_size, int timeout, void(*free_fn)(const ACL_CACHE_INFO *, void *))
ACL_API void acl_cache_free(ACL_CACHE *cache)
ACL_API void acl_cache_unrefer2(ACL_CACHE *cache, const char *key)
struct ACL_CACHE ACL_CACHE
ACL_API void acl_cache_unrefer(ACL_CACHE_INFO *info)
ACL_API void acl_cache_update(ACL_CACHE *cache, const char *key, int timeout)
ACL_API void acl_cache_refer(ACL_CACHE_INFO *info)
ACL_API int acl_cache_clean(ACL_CACHE *cache, int force)
ACL_API void acl_cache_unlock(ACL_CACHE *cache)
struct ACL_CACHE_INFO ACL_CACHE_INFO
ACL_API void acl_cache_lock(ACL_CACHE *cache)
ACL_API void acl_cache_walk(ACL_CACHE *cache, void(*walk_fn)(ACL_CACHE_INFO *, void *), void *arg)
ACL_API void * acl_cache_find(ACL_CACHE *cache, const char *key)
ACL_API int acl_cache_delete2(ACL_CACHE *cache, const char *key)
struct ACL_SLICE ACL_SLICE
ACL_API ACL_CACHE_INFO * acl_cache_locate(ACL_CACHE *cache, const char *key)
void(* free_fn)(const ACL_CACHE_INFO *, void *)