/* puff.h -- interface to puff(), a simple DEFLATE decompressor. * puff.c is Mark Adler's public-domain reference inflate (from zlib/contrib). * clectio uses it to unpack its compiled scripture text, which the build packs * with gzip (a raw DEFLATE stream; the gzip header/trailer are stripped by * mktext, which stores [uint32 raw length][raw DEFLATE]). */ #ifndef PUFF_H #define PUFF_H int puff(unsigned char *dest, /* pointer to destination pointer */ unsigned long *destlen, /* amount of output space / used */ const unsigned char *source, /* pointer to source data pointer */ unsigned long *sourcelen); /* amount of input available / used */ #endif