summaryrefslogtreecommitdiff
path: root/navit/cache.h
blob: f67c0c087475173d93ea613b90a5929672f2ed67 (plain)
1
2
3
4
5
6
7
8
9
10
11
struct cache_entry;
struct cache;
/* prototypes */
struct cache *cache_new(int id_size, int size);
void *cache_entry_new(struct cache *cache, void *id, int size);
void cache_entry_destroy(struct cache *cache, void *data);
void *cache_lookup(struct cache *cache, void *id);
void cache_insert(struct cache *cache, void *data);
void *cache_insert_new(struct cache *cache, void *id, int size);
void cache_dump(struct cache *cache);
/* end of prototypes */