diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2011-10-07 18:12:47 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2011-10-07 18:12:47 +0000 |
commit | 230779848e22f5d185cbeb0ccaae0c16cbc5836c (patch) | |
tree | 414dc368828574374d85553490daa23dd53e1bd6 /content/content_protected.h | |
parent | 52ad2c1e2523b28aa5363656fbbef20e97665cce (diff) | |
download | netsurf-230779848e22f5d185cbeb0ccaae0c16cbc5836c.tar.gz netsurf-230779848e22f5d185cbeb0ccaae0c16cbc5836c.tar.bz2 |
metadata links stored in contents
browser uses metadata links for favicons
svn path=/trunk/netsurf/; revision=12977
Diffstat (limited to 'content/content_protected.h')
-rw-r--r-- | content/content_protected.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/content/content_protected.h b/content/content_protected.h index eeaa67cbf..05b1940f2 100644 --- a/content/content_protected.h +++ b/content/content_protected.h @@ -108,6 +108,8 @@ struct content { nsurl *refresh; /**< URL for refresh request */ + struct content_rfc5988_link *links; /**< list of metadata links */ + unsigned int time; /**< Creation time, if LOADING or READY, otherwise total time. */ @@ -160,6 +162,11 @@ void content_broadcast(struct content *c, content_msg msg, void content_add_error(struct content *c, const char *token, unsigned int line); +bool content__add_rfc5988_link(struct content *c, + const struct content_rfc5988_link *link); +struct content_rfc5988_link *content__free_rfc5988_link( + struct content_rfc5988_link *link); + void content__reformat(struct content *c, bool background, int width, int height); void content__request_redraw(struct content *c, |