From 50da9e696d7be359cdbeaf22bd643f3885827a55 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 11 Dec 2015 16:13:45 +0100 Subject: the kernel-specific functions can fetch and use additional data it may need MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/png.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/png.h') diff --git a/src/png.h b/src/png.h index b621234..0f5d93f 100644 --- a/src/png.h +++ b/src/png.h @@ -58,8 +58,10 @@ * @param width The width of the image. * @param height The height of the image. * @param imgfd The file descriptor connected to conversion process's stdin. + * @param data Additional data for `convert_fb_to_pnm` + * and `convert_fb_to_png`. * @return Zero on success, -1 on error. */ int -save_png (int fbfd, long width, long height, int imgfd); +save_png (int fbfd, long width, long height, int imgfd, void *restrict data); -- cgit v1.2.3-70-g09d2