This struct is defined as follows:
typedef struct ec_cache_element {
char *key;
void *value;
ec_atomic_t ref;
int keylen;
/* last use time */
time_t last;
/* time at which this element expires */
time_t expiry_time;
/* this represents the actual cache entry */
ec_fc_entry_t entry;
ec_cache_elt_dtor_func dtor;
} ec_cache_elt;
To use this struct, include the file ec_cache.h
.
Was this page helpful?