diff options
Diffstat (limited to 'image/png.h')
-rw-r--r-- | image/png.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/image/png.h b/image/png.h index a5fa6dfae..b940434e7 100644 --- a/image/png.h +++ b/image/png.h @@ -31,6 +31,7 @@ struct content; struct bitmap; +struct http_parameter; struct content_png_data { png_structp png; @@ -41,8 +42,7 @@ struct content_png_data { size_t rowbytes; /**< Number of bytes per row */ }; -bool nspng_create(struct content *c, struct content *parent, - const char *params[]); +bool nspng_create(struct content *c, const struct http_parameter *params); bool nspng_process_data(struct content *c, char *data, unsigned int size); bool nspng_convert(struct content *c, int width, int height); void nspng_destroy(struct content *c); |