I'm trying to use z-lib decompression functions from my PB app but i've got problems figuring out how to correctly call the functions contained in zlib.dll.
My problem is that i need to pass a zstream object as a parameter to the zlib inflate() function. How could this zstream object (which is defined inside the zlib.dll) be translated into PB ?
If anyone has an example of calling zlib functions from a PB app, it would really be useful

Thanks in advance,
Pythagoras
PS : I've looked at the PBZip library and other way of compression/decompression, but they doesn't suit my need as i'm trying to read inside a single packed file which contain g-zip compressed files.