| View previous topic :: View next topic |
| Author |
Message |
Sergio D. Caplan Guest
|
Posted: Tue Aug 05, 2003 1:03 am Post subject: zlib routines |
|
|
am looking at using zlib in my app to decrompress ONLY files....
is there any high-level function where i just say...here is the input
filename , the output filename....now just go and do your magic?
thanks ahead,
serg |
|
| |
|
Back to top |
Thomas Richter Guest
|
Posted: Sun Aug 10, 2003 6:04 pm Post subject: Re: zlib routines |
|
|
Sergio D. Caplan wrote:
[quote]am looking at using zlib in my app to decrompress ONLY files....
is there any high-level function where i just say...here is the input
filename , the output filename....now just go and do your magic?
[/quote]
Well, almost. Check the zlib, specifically its gzopen() call. It allows
you to read from a compressed file much in the same way as you read from
an uncompressed file. Now, if that>s not magic enough... (-;
Greetings,
Thomas |
|
| |
|
Back to top |
apm Guest
|
Posted: Mon Aug 11, 2003 2:13 pm Post subject: Re: zlib routines |
|
|
Thomas Richter <thor@math.tu-berlin.de> wrote in message news:<3F3642CD.3060106@math.tu-berlin.de>...
[quote]Sergio D. Caplan wrote:
am looking at using zlib in my app to decrompress ONLY files....
is there any high-level function where i just say...here is the input
filename , the output filename....now just go and do your magic?
Well, almost. Check the zlib, specifically its gzopen() call. It allows
you to read from a compressed file much in the same way as you read from
an uncompressed file. Now, if that>s not magic enough... (-;
Greetings,
Thomas
[/quote]
There is a library that will do what you want. Check out:
http://zziplib.sf.net
But be aware that there is an unusual license attached. It resembles
the LGPL but is different in a few ways that raise a question mark
over whether or not your code has to be GPL>d if you statically link
with zziplib.
-Andrew Marlow |
|
| |
|
Back to top |
|