From 392307bb1fdf4186f26300631fe3710d895cf7ce Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 18 Apr 2016 23:04:16 +0100 Subject: reduce content header interdependancy --- content/content_protected.h | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'content/content_protected.h') diff --git a/content/content_protected.h b/content/content_protected.h index e5ff1cae2..e901e40df 100644 --- a/content/content_protected.h +++ b/content/content_protected.h @@ -28,6 +28,8 @@ #include #include +#include + #include "utils/config.h" #include "content/content.h" #include "content/content_factory.h" @@ -38,15 +40,17 @@ struct bitmap; struct content; struct rect; struct redraw_context; +struct http_parameter; struct content_handler { void (*fini)(void); nserror (*create)(const content_handler *handler, - lwc_string *imime_type, const http_parameter *params, - llcache_handle *llcache, - const char *fallback_charset, bool quirks, - struct content **c); + lwc_string *imime_type, + const struct http_parameter *params, + llcache_handle *llcache, + const char *fallback_charset, bool quirks, + struct content **c); bool (*process_data)(struct content *c, const char *data, unsigned int size); @@ -157,7 +161,7 @@ extern const char * const content_type_name[]; extern const char * const content_status_name[]; nserror content__init(struct content *c, const content_handler *handler, - lwc_string *imime_type, const http_parameter *params, + lwc_string *imime_type, const struct http_parameter *params, struct llcache_handle *llcache, const char *fallback_charset, bool quirks); nserror content__clone(const struct content *c, struct content *nc); -- cgit v1.2.3