summaryrefslogtreecommitdiff
path: root/test/llcache.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-01-12 08:40:08 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-01-12 08:40:08 +0000
commit4cd21d9934f3b74aaf918f521c5aea55c1cf61ef (patch)
treec4c90d380068a945f278b24838d5eac45a3acda0 /test/llcache.c
parente66211f6697fbcbc694dbfcc074049f4d5d61c47 (diff)
downloadnetsurf-4cd21d9934f3b74aaf918f521c5aea55c1cf61ef.tar.gz
netsurf-4cd21d9934f3b74aaf918f521c5aea55c1cf61ef.tar.bz2
Fix testsuite
svn path=/trunk/netsurf/; revision=11288
Diffstat (limited to 'test/llcache.c')
-rw-r--r--test/llcache.c35
1 files changed, 12 insertions, 23 deletions
diff --git a/test/llcache.c b/test/llcache.c
index b7b6fd05c..416c2f573 100644
--- a/test/llcache.c
+++ b/test/llcache.c
@@ -99,11 +99,19 @@ char *url_to_path(const char *url)
*
* URLdb should have a cookies update event + handler registration
*/
-bool cookies_update(const char *domain, const struct cookie_data *data)
+bool cookies_schedule_update(const struct cookie_data *data)
{
return true;
}
+/* desktop/cookies.h -- used by urldb
+ *
+ * URLdb should have a cookies removal handler registration
+ */
+void cookies_remove(const struct cookie_data *data)
+{
+}
+
/* image/bitmap.h -- used by urldb
*
* URLdb shouldn't care about bitmaps.
@@ -113,31 +121,12 @@ void bitmap_destroy(void *bitmap)
{
}
-/* desktop/tree.h -- used by options.c
+/* content/fetchers/fetch_file.h -- used by fetcher core
*
- * Why on earth is tree loading and saving in options.c?
+ * Simpler to stub this than haul in all the file fetcher's dependencies
*/
-void tree_initialise(struct tree *tree)
-{
-}
-
-/* desktop/tree.h */
-struct node *tree_create_folder_node(struct node *parent, const char *title)
+void fetch_file_register(void)
{
- return NULL;
-}
-
-/* desktop/tree.h */
-struct node *tree_create_URL_node(struct node *parent, const char *url,
- const struct url_data *data, const char *title)
-{
- return NULL;
-}
-
-/* desktop/tree.h */
-struct node_element *tree_find_element(struct node *node, node_element_data d)
-{
- return NULL;
}
/******************************************************************************