From 2d33a8f85a83ceaf55dd5ab6a9e363191bfe3c08 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 10 Sep 2011 00:55:39 +0000 Subject: Make high level cache, low level cache and image cache all be initialised from passed parameters Calculate all cache sizes from single memory cache size option and sanity check have a single global struct to hold all parameters instead of several individual variables svn path=/trunk/netsurf/; revision=12784 --- content/llcache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content/llcache.h') diff --git a/content/llcache.h b/content/llcache.h index e6584e165..8070db90d 100644 --- a/content/llcache.h +++ b/content/llcache.h @@ -156,7 +156,7 @@ typedef nserror (*llcache_query_callback)(const llcache_query *query, void *pw, * \param pw Pointer to query handler data * \return NSERROR_OK on success, appropriate error otherwise. */ -nserror llcache_initialise(llcache_query_callback cb, void *pw); +nserror llcache_initialise(llcache_query_callback cb, void *pw, uint32_t llcache_limit); /** * Finalise the low-level cache -- cgit v1.2.3