March 26, 2020 Contributors

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.

See Also

ec_cache_create, ec_cache_create2, ec_cache_delref, ec_cache_destroy, ec_cache_find, and ec_cache_insert.