diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-04-18 23:04:16 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-04-18 23:04:16 +0100 |
commit | 392307bb1fdf4186f26300631fe3710d895cf7ce (patch) | |
tree | 5a55cf451925bb4b00addcc69942f0678a0ee33e /content/content_protected.h | |
parent | 34f6aa13234a618c3b1add75899af2ca1f6a08e9 (diff) | |
download | netsurf-392307bb1fdf4186f26300631fe3710d895cf7ce.tar.gz netsurf-392307bb1fdf4186f26300631fe3710d895cf7ce.tar.bz2 |
reduce content header interdependancy
Diffstat (limited to 'content/content_protected.h')
-rw-r--r-- | content/content_protected.h | 14 |
1 files changed, 9 insertions, 5 deletions
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 <stdint.h> #include <time.h> +#include <stdio.h> + #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); |