commit | add18ea20b7ace14e040d2641d049f7d6a1d2ab3 | [log] [tgz] |
---|---|---|
author | Thomas Klausner <tk@giga.or.at> | Wed Jan 18 20:11:48 2017 +0100 |
committer | Thomas Klausner <tk@giga.or.at> | Wed Jan 18 20:11:48 2017 +0100 |
tree | a90d32dc8bf357358aba4728370f56a03d0fc958 | |
parent | e48eab946c7428cee689a69c85afa973ad55af74 [diff] |
Do not return the same value for no encryption and error.
This is libzip, a C library for reading, creating, and modifying zip archives. Files can be added from data buffers, files, or compressed data copied directly from other zip archives. Changes made without closing the archive can be reverted. Decryption and encryption of Winzip AES and decryption of legacy PKware encrypted files is supported. The API is documented by man pages.
For more information, take a look at the included man pages. You can start with libzip(3), which lists all others. Example source code is in the src/
subdirectory.
If you have developed an application using libzip, you can find out about API changes and how to adapt your code for them in the included file API-CHANGES
.
For generic installation instructions, see file INSTALL
, which describes the approach using autoconf; alternatively, you can use cmake to build.
Additionally, you'll need zlib (at least version 1.1.2). It comes with most operating systems nowadays, or you can get it at
When using a static Windows library, you need to define ZIP_STATIC
when compiling packages using libzip.
If you make a binary distribution, please include a pointer to the distribution site:
The latest version can always be found there.
There is a mailing list for developers using libzip. You can subscribe to it by sending a mail with the subject “subscribe libzip-discuss” to minimalist at nih.at. List mail should be sent to libzip-discuss at nih.at. Use this for bug reports or questions.
If you want to reach the authors in private, use libzip@nih.at.