summaryrefslogtreecommitdiff
path: root/content/content_protected.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/content_protected.h')
-rw-r--r--content/content_protected.h14
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);