diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-02-28 13:06:30 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-02-28 13:06:30 +0000 |
commit | 5baf48859a71060bbe6e81335431fcda6c91a0f8 (patch) | |
tree | 5ad5eb675142bf2703e6cfd34f7bfeaae5bffb2d /content | |
parent | 947c466c4ba63ad84c0121453975a34935d0c1e8 (diff) | |
parent | 2ce332f1b07af89ce387ca24cc6471f97c80154b (diff) | |
download | netsurf-5baf48859a71060bbe6e81335431fcda6c91a0f8.tar.gz netsurf-5baf48859a71060bbe6e81335431fcda6c91a0f8.tar.bz2 |
Merge branch 'master' of git://git.netsurf-browser.org/netsurf into chris/bitmap-fonts
Diffstat (limited to 'content')
-rw-r--r-- | content/content.h | 13 | ||||
-rw-r--r-- | content/dirlist.h | 8 |
2 files changed, 11 insertions, 10 deletions
diff --git a/content/content.h b/content/content.h index c154d7a04..f0761d748 100644 --- a/content/content.h +++ b/content/content.h @@ -34,7 +34,6 @@ #include "utils/config.h" #include "utils/errors.h" #include "utils/http.h" -#include "utils/nsurl.h" #include "content/content_factory.h" #include "content/content_type.h" #include "desktop/search.h" @@ -105,7 +104,7 @@ struct content_rfc5988_link { struct content_rfc5988_link *next; /**< next rfc5988_link in list */ lwc_string *rel; /**< the link relationship - must be present */ - nsurl *href; /**< the link href - must be present */ + struct nsurl *href; /**< the link href - must be present */ lwc_string *hreflang; lwc_string *type; lwc_string *media; @@ -120,8 +119,8 @@ union content_msg_data { nserror errorcode; /** CONTENT_MSG_REDIRECT - Redirect info */ struct { - nsurl *from; /**< Redirect origin */ - nsurl *to; /**< Redirect target */ + struct nsurl *from; /**< Redirect origin */ + struct nsurl *to; /**< Redirect target */ } redirect; /**< Fetch URL redirect occured */ /** CONTENT_MSG_REDRAW - Area of content which needs redrawing */ struct { @@ -171,7 +170,7 @@ union content_msg_data { } dragsave; /** CONTENT_MSG_SAVELINK - Save a URL */ struct { - nsurl *url; + struct nsurl *url; const char *title; } savelink; /** CONTENT_MSG_POINTER - Mouse pointer to set */ @@ -252,7 +251,7 @@ bool content_matches_quirks(struct content *c, bool quirks); bool content_is_shareable(struct content *c); const struct llcache_handle *content_get_llcache_handle(struct content *c); -nsurl *content_get_url(struct content *c); +struct nsurl *content_get_url(struct content *c); struct content *content_clone(struct content *c); @@ -426,7 +425,7 @@ void content_invalidate_reuse_data(struct hlcache_handle *h); * \param h Content to retrieve refresh URL from * \return Pointer to URL, or NULL if none */ -nsurl *content_get_refresh_url(struct hlcache_handle *h); +struct nsurl *content_get_refresh_url(struct hlcache_handle *h); /** * Retrieve the bitmap contained in an image content diff --git a/content/dirlist.h b/content/dirlist.h index 687f50688..5cdaf7532 100644 --- a/content/dirlist.h +++ b/content/dirlist.h @@ -33,15 +33,17 @@ #define DIRLIST_NO_DATE_COLUMN 1 << 3 #define DIRLIST_NO_TIME_COLUMN 1 << 4 +struct nsurl; + bool dirlist_generate_top(char *buffer, int buffer_length); bool dirlist_generate_hide_columns(int flags, char *buffer, int buffer_length); bool dirlist_generate_title(const char *title, char *buffer, int buffer_length); bool dirlist_generate_parent_link(const char *parent, char *buffer, int buffer_length); bool dirlist_generate_headings(char *buffer, int buffer_length); -bool dirlist_generate_row(bool even, bool directory, nsurl *url, char *name, - const char *mimetype, long long size, char *date, char *time, - char *buffer, int buffer_length); +bool dirlist_generate_row(bool even, bool directory, struct nsurl *url, + char *name, const char *mimetype, long long size, char *date, + char *time, char *buffer, int buffer_length); bool dirlist_generate_bottom(char *buffer, int buffer_length); #endif |