diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-10-03 15:56:47 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-10-03 15:56:47 +0000 |
commit | 36eff6da2bfe5b183c2b4876bb2afe9dedec9b39 (patch) | |
tree | 6cc96c71499d22745947113db5c6fc118c286d1f /content/fetchers | |
parent | a595d7c4bbe44f7de6c565a4fbbdcff735f0ce99 (diff) | |
download | netsurf-36eff6da2bfe5b183c2b4876bb2afe9dedec9b39.tar.gz netsurf-36eff6da2bfe5b183c2b4876bb2afe9dedec9b39.tar.bz2 |
Port more internals to nsurl. Front ends may need updating.
svn path=/trunk/netsurf/; revision=12926
Diffstat (limited to 'content/fetchers')
-rw-r--r-- | content/fetchers/resource.c | 1 | ||||
-rw-r--r-- | content/fetchers/resource.h | 13 |
2 files changed, 1 insertions, 13 deletions
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 |