summaryrefslogtreecommitdiff
path: root/content/hlcache.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/hlcache.h')
-rw-r--r--content/hlcache.h9
1 files changed, 9 insertions, 0 deletions
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