summaryrefslogtreecommitdiff
path: root/desktop/cache.h
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2003-02-09 12:58:15 +0000
committerJames Bursa <james@netsurf-browser.org>2003-02-09 12:58:15 +0000
commita4c5929a2fac1cb0c039b2d009d8093ac81a90d7 (patch)
tree710bf4247d92ec63df7c92815c5360ec907a4b66 /desktop/cache.h
parent948dfeb1c2404e6bdad8c20c83a26f3eecb3764a (diff)
downloadnetsurf-a4c5929a2fac1cb0c039b2d009d8093ac81a90d7.tar.gz
netsurf-a4c5929a2fac1cb0c039b2d009d8093ac81a90d7.tar.bz2
[project @ 2003-02-09 12:58:14 by bursa]
Reorganization and rewrite of fetch, cache, and content handling. svn path=/import/netsurf/; revision=96
Diffstat (limited to 'desktop/cache.h')
-rw-r--r--desktop/cache.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/desktop/cache.h b/desktop/cache.h
deleted file mode 100644
index 90131d8c2..000000000
--- a/desktop/cache.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * $Id: cache.h,v 1.1 2002/11/02 22:28:05 bursa Exp $
- */
-
-/**
- * Using the cache:
- *
- * cache_init();
- * ...
- * c = cache_get(url);
- * if (c == 0) {
- * ... (create c) ...
- * cache_put(url, c, size);
- * }
- * ...
- * cache_free(c);
- * ...
- * cache_quit();
- *
- * cache_free informs the cache that the content is no longer being used, so
- * it can be deleted from the cache if necessary. There must be a call to
- * cache_free for each cache_get or cache_put.
- */
-
-#include "netsurf/desktop/browser.h"
-
-void cache_init(void);
-void cache_quit(void);
-struct content * cache_get(char * const url);
-void cache_put(char * const url, struct content * content, unsigned long size);
-void cache_free(struct content * content);
-