Turnstone Operating System
|
cache interface More...
Classes | |
struct | cache_config_t |
Macros | |
#define | ___CACHE_H 0 |
#define | cache_put_by_count(c, k, i) |
#define | cache_put_item_as_key(c, i, s) |
Enumerations | |
enum | cache_policy_t { CACHE_POLICY_COUNT , CACHE_POLICY_SIZE } |
Functions | |
cache_t * | cache_new (cache_config_t *config) |
boolean_t | cache_destroy (cache_t *cache) |
boolean_t | cache_put (cache_t *cache, const void *key, const void *item, uint64_t size) |
const void * | cache_get (cache_t *cache, const void *key) |
cache interface
This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.
#define cache_put_by_count | ( | c, | |
k, | |||
i ) |
#define cache_put_item_as_key | ( | c, | |
i, | |||
s ) |