diff options
author | Christian Hesse <mail@eworm.de> | 2014-02-20 07:30:36 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2014-02-20 07:30:36 +0100 |
commit | 2dd889294d577e484a431b7bce20aaae1731786f (patch) | |
tree | b62f998f92189930125e2e66114eee9d48902780 | |
parent | b6b5be9b1a470f5a7eb83fddc0323eedf187d4e9 (diff) | |
download | cqrlogo-2dd889294d577e484a431b7bce20aaae1731786f.tar.gz cqrlogo-2dd889294d577e484a431b7bce20aaae1731786f.tar.zst |
add PNG I/O functions to header file
-rw-r--r-- | cqrlogo.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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); |