summaryrefslogtreecommitdiff
path: root/navit/cache.h
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-02-26 08:53:43 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-02-26 08:53:43 +0000
commita3823d70ec0fa3ff6cbe5f529ad9d2ab51d0580c (patch)
tree47a97d62ff91a99f2cf17f5d19db4b0d49cda0bc /navit/cache.h
parentc5b13ab4c85b74490feeb0fd3154dec00c862bc0 (diff)
downloadnavit-a3823d70ec0fa3ff6cbe5f529ad9d2ab51d0580c.tar.gz
Add:Core:Possibility to configure cache size
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5393 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/cache.h')
-rw-r--r--navit/cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/navit/cache.h b/navit/cache.h
index cdeea02e5..b3f5adb09 100644
--- a/navit/cache.h
+++ b/navit/cache.h
@@ -2,6 +2,7 @@ struct cache_entry;
struct cache;
/* prototypes */
struct cache *cache_new(int id_size, int size);
+void cache_resize(struct cache *cache, 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);