From 0c0ff3c59631d0968c888279195ea40d4a7fd824 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Tue, 17 Jun 2003 19:24:21 +0000 Subject: [project @ 2003-06-17 19:24:20 by bursa] Change fetchcache system to store loading contents in cache. svn path=/import/netsurf/; revision=180 --- content/fetchcache.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'content/fetchcache.h') diff --git a/content/fetchcache.h b/content/fetchcache.h index 9241ddf0f..c9b3d182c 100644 --- a/content/fetchcache.h +++ b/content/fetchcache.h @@ -1,5 +1,5 @@ /** - * $Id: fetchcache.h,v 1.4 2003/04/09 21:57:09 bursa Exp $ + * $Id: fetchcache.h,v 1.5 2003/06/17 19:24:20 bursa Exp $ */ #ifndef _NETSURF_DESKTOP_FETCHCACHE_H_ @@ -7,10 +7,9 @@ #include "netsurf/content/content.h" -typedef enum {FETCHCACHE_OK, FETCHCACHE_BADTYPE, FETCHCACHE_ERROR, FETCHCACHE_STATUS} fetchcache_msg; - -void fetchcache(const char *url, char *referer, - void (*callback)(fetchcache_msg msg, struct content *c, void *p, const char *error), - void *p, unsigned long width, unsigned long height, content_type allowed); +struct content * fetchcache(const char *url, char *referer, + void (*callback)(content_msg msg, struct content *c, void *p1, + void *p2, const char *error), + void *p1, void *p2, unsigned long width, unsigned long height); #endif -- cgit v1.2.3