An attempt (or the beginnings of one) to construct a lightweight wrapper library for zlib, offering the C programmer a relatively easy way to create zip archives on the PKZip pattern, and to extract files from same. Bug reports and patches welcome.
The code here draws heavily on the zip program, version 2.31 of March 1, 2005, from Info-ZIP (but bears no official relationship to Info-ZIP). The code has been modified quite substantially; the changes include the following:
I have updated from K&R C to ISO C90.
I have removed support for all platforms other than generic *nix and win32 (hence simplifying the code considerably).
I have removed code pertaining to various options of the zip program which are unlikely (IMO) to be useful when the zip/unzip functionality is called programmatically.
I have added a dependency on glib (see www.gtk.org) for various portability and convenience functions.
First-draft API documentation.
Initial source-code package: libzipunzip-0.1.tar.gz (344 Kbytes). The source package contains GNU autoconf apparatus for building, and also a makefile.mingw which I have used for cross-compiling on Linux a Windows DLL. Binaries of the Windows DLL and a little test program are also included.
The InfoZIP LICENSE, which I guess is inherited by my code.
Allin Cottrell <firstname.lastname@example.org>
Wake Forest University