summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-02-20 07:30:36 +0100
committerGravatar Christian Hesse <mail@eworm.de>2014-02-20 07:30:36 +0100
commit2dd889294d577e484a431b7bce20aaae1731786f (patch)
treeb62f998f92189930125e2e66114eee9d48902780
parentb6b5be9b1a470f5a7eb83fddc0323eedf187d4e9 (diff)
downloadcqrlogo-2dd889294d577e484a431b7bce20aaae1731786f.tar.gz
cqrlogo-2dd889294d577e484a431b7bce20aaae1731786f.tar.zst
add PNG I/O functions to header file
-rw-r--r--cqrlogo.h8
1 files changed, 8 insertions, 0 deletions
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);