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/content_protected.h | |
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/content_protected.h')
-rw-r--r-- | content/content_protected.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/content/content_protected.h b/content/content_protected.h index 633f33241..eeaa67cbf 100644 --- a/content/content_protected.h +++ b/content/content_protected.h @@ -106,8 +106,7 @@ struct content { bool quirks; /**< Content is in quirks mode */ char *fallback_charset; /**< Fallback charset, or NULL */ - /** URL for refresh request, in standard form as from url_join. */ - char *refresh; + nsurl *refresh; /**< URL for refresh request */ unsigned int time; /**< Creation time, if LOADING or READY, @@ -169,7 +168,7 @@ void content__request_redraw(struct content *c, bool content__set_title(struct content *c, const char *title); lwc_string *content__get_mime_type(struct content *c); -const char *content__get_url(struct content *c); +nsurl *content__get_url(struct content *c); const char *content__get_title(struct content *c); const char *content__get_status_message(struct content *c); int content__get_width(struct content *c); @@ -177,7 +176,7 @@ int content__get_height(struct content *c); int content__get_available_width(struct content *c); const char *content__get_source_data(struct content *c, unsigned long *size); void content__invalidate_reuse_data(struct content *c); -const char *content__get_refresh_url(struct content *c); +nsurl *content__get_refresh_url(struct content *c); struct bitmap *content__get_bitmap(struct content *c); bool content__get_opaque(struct content *c); |