From 36eff6da2bfe5b183c2b4876bb2afe9dedec9b39 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 3 Oct 2011 15:56:47 +0000 Subject: Port more internals to nsurl. Front ends may need updating. svn path=/trunk/netsurf/; revision=12926 --- content/fetchers/resource.c | 1 + content/fetchers/resource.h | 13 ------------- 2 files changed, 1 insertion(+), 13 deletions(-) (limited to 'content/fetchers') diff --git a/content/fetchers/resource.c b/content/fetchers/resource.c index f217d6e53..c8557b6ea 100644 --- a/content/fetchers/resource.c +++ b/content/fetchers/resource.c @@ -41,6 +41,7 @@ #include "content/fetch.h" #include "content/fetchers/resource.h" #include "content/urldb.h" +#include "desktop/gui.h" #include "desktop/netsurf.h" #include "desktop/options.h" #include "utils/log.h" diff --git a/content/fetchers/resource.h b/content/fetchers/resource.h index 35c397310..79d8e37c4 100644 --- a/content/fetchers/resource.h +++ b/content/fetchers/resource.h @@ -37,17 +37,4 @@ */ void fetch_resource_register(void); -/** - * Callback to translate resource to full url. - * - * Transforms a resource: filename into a full URL. The returned URL - * is used as the target for a redirect. The caller takes ownership of - * the returned string including freeing it when finished with it. - * - * \param filename The filename of the resource to locate. - * \return A string containing the full URL of the target object or - * NULL if no suitable resource can be found. - */ -char* gui_get_resource_url(const char *filename); - #endif -- cgit v1.2.3