From 2dd889294d577e484a431b7bce20aaae1731786f Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 20 Feb 2014 07:30:36 +0100 Subject: add PNG I/O functions to header file --- cqrlogo.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cqrlogo.h b/cqrlogo.h index b3fe4ef..d14050d 100644 --- a/cqrlogo.h +++ b/cqrlogo.h @@ -20,6 +20,14 @@ struct bitmap_t { png_text * add_png_text(png_text *pngtext, unsigned int *textcount, char *key, char *text); #endif +#if HAVE_FCGI +/*** png_write_stdout ***/ +void png_write_stdout(png_structp png_ptr, png_bytep data, png_size_t length); + +/*** png_flush_stdout ***/ +void png_flush_stdout(png_structp png_ptr); +#endif + /*** generate_png ***/ int generate_png (struct bitmap_t *bitmap, const char *uri); -- cgit v1.2.3-70-g09d2