diff options
Diffstat (limited to 'src/cache.h')
-rw-r--r-- | src/cache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cache.h b/src/cache.h index 6099447c..81b9c1ec 100644 --- a/src/cache.h +++ b/src/cache.h @@ -46,6 +46,7 @@ typedef void (*CA_Callback_t)(int Op, CacheClient_t *Client); struct _CacheClient { int Key; /* Primary Key for this client */ const DilloUrl *Url; /* Pointer to a cache entry Url */ + int Version; /* Dicache version of this Url (0 if not used) */ void *Buf; /* Pointer to cache-data */ uint_t BufSize; /* Valid size of cache-data */ CA_Callback_t Callback; /* Client function */ @@ -61,8 +62,7 @@ int a_Cache_open_url(void *Web, CA_Callback_t Call, void *CbData); int a_Cache_get_buf(const DilloUrl *Url, char **PBuf, int *BufSize); void a_Cache_unref_buf(const DilloUrl *Url); const char *a_Cache_get_content_type(const DilloUrl *url); -const char *a_Cache_set_content_type(const DilloUrl *url, const char *ctype, - bool_t force); +const char *a_Cache_set_content_type(const DilloUrl *url, const char *ctype); uint_t a_Cache_get_flags(const DilloUrl *url); void a_Cache_process_dbuf(int Op, const char *buf, size_t buf_size, const DilloUrl *Url); |