diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-07-30 20:34:23 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-07-30 20:34:23 +0000 |
commit | d72782347c2ba802cd030feeb23f7eacc4ae8a23 (patch) | |
tree | a729476323d0d551c2031b3a666193923ceb08a4 /cache.h | |
parent | c297ef7f5928b0407ab67b9a76ccf166d0a1d3e0 (diff) | |
parent | 3b8435d744c504a88493f272068453023585837e (diff) | |
download | navit-svn-wince.tar.gz |
Updated wince branch to current versionwince
git-svn-id: http://svn.code.sf.net/p/navit/code/branches/wince/navit@2430 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cache.h b/cache.h new file mode 100644 index 00000000..f67c0c08 --- /dev/null +++ b/cache.h @@ -0,0 +1,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 */ |