From e0ba5089922f0827ae4115d5f94e4227628de2ff Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 11 Apr 2006 02:39:55 +0000 Subject: Store URLs explicitly in URL database for faster access. Iteration callbacks now passed url_data struct to remove need to look up svn path=/trunk/netsurf/; revision=2522 --- content/urldb.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'content/urldb.h') diff --git a/content/urldb.h b/content/urldb.h index 9d59271d2..1a7383022 100644 --- a/content/urldb.h +++ b/content/urldb.h @@ -54,10 +54,12 @@ const struct bitmap *urldb_get_thumbnail(const char *url); /* URL completion */ void urldb_iterate_partial(const char *prefix, - bool (*callback)(const char *url)); + bool (*callback)(const char *url, + const struct url_data *data)); /* Iteration */ -void urldb_iterate_entries(bool (*callback)(const char *url)); +void urldb_iterate_entries(bool (*callback)(const char *url, + const struct url_data *data)); /* Debug */ void urldb_dump(void); -- cgit v1.2.3