Provided by: libzip-dev_0.10-1ubuntu1_amd64
zip_set_archive_flag - set zip archive flag
#include <zip.h> int zip_set_archive_flag(struct zip *archive, int flag, int value);
The zip_set_archive_flag function sets the flag flag for the archive archive to the value value. Supported flags are: ZIP_AFL_TORRENT Create a torrent-zipped archive. This restricts the values that can be set from the application side. In particular, time stamps are not saved and the order of the files in the archive is alphabetical. No file comments or extended attributes are allowed and the archive comment can not be chosen.
Upon successful completion 0 is returned, and -1 if an error occurred.
Dieter Baron <firstname.lastname@example.org> and Thomas Klausner <email@example.com>