From f2993e6ed037023e28837c7c666627380235bd14 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 4 Dec 2011 14:55:23 +0000 Subject: content_get_url -> hlcache_handle_get_url, content__get_url -> content_get_url svn path=/trunk/netsurf/; revision=13236 --- content/hlcache.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'content/hlcache.h') diff --git a/content/hlcache.h b/content/hlcache.h index a817b0fbd..41f1ed6f4 100644 --- a/content/hlcache.h +++ b/content/hlcache.h @@ -26,6 +26,7 @@ #include "content/content.h" #include "content/llcache.h" #include "utils/errors.h" +#include "utils/nsurl.h" /** High-level cache handle */ typedef struct hlcache_handle hlcache_handle; @@ -189,4 +190,12 @@ struct content *hlcache_handle_get_content(const hlcache_handle *handle); */ nserror hlcache_handle_clone(hlcache_handle *handle, hlcache_handle **result); +/** + * Retrieve the URL associated with a high level cache handle + * + * \param handle The handle to inspect + * \return Pointer to URL. + */ +nsurl *hlcache_handle_get_url(const hlcache_handle *handle); + #endif -- cgit v1.2.3