Whole document tree
    

Whole document tree

e-cache

e-cache

e-cache -- 
Description

Details
struct ECache
struct ECache;


ECacheDupFunc ()
gpointer    (*ECacheDupFunc)                (gconstpointer data);


ECacheFreeFunc ()
void        (*ECacheFreeFunc)               (gpointer data);


e_cache_new ()
ECache*     e_cache_new                     (GHashFunc key_hash_func,
                                             GCompareFunc key_compare_func,
                                             ECacheDupFunc key_dup_func,
                                             ECacheFreeFunc key_free_func,
                                             ECacheFreeFunc object_free_func,
                                             size_t softlimit,
                                             size_t hardlimit);


e_cache_ref ()
void        e_cache_ref                     (ECache *cache);


e_cache_unref ()
void        e_cache_unref                   (ECache *cache);


e_cache_lookup ()
gpointer    e_cache_lookup                  (ECache *cache,
                                             gconstpointer key);


e_cache_lookup_notouch ()
gpointer    e_cache_lookup_notouch          (ECache *cache,
                                             gconstpointer key);


e_cache_insert ()
gboolean    e_cache_insert                  (ECache *cache,
                                             gpointer key,
                                             gpointer data,
                                             size_t size);


e_cache_invalidate ()
void        e_cache_invalidate              (ECache *cache,
                                             gpointer key);


e_cache_invalidate_all ()
void        e_cache_invalidate_all          (ECache *cache);


e_cache_query_object_size ()
size_t      e_cache_query_object_size       (ECache *cache,
                                             gconstpointer key);