Set comment for file in zip
libzip (-lzip)
#include <zip.h>
int
zip_set_file_comment(struct zip *archive, zip_uint64_t index, const char *comment, int len);
The zip_set_file_comment() function is the obsolete version of zip_file_set_comment(3). The only differences are the type of the len argument and the additional flags argument. zip_set_file_comment() is the same as calling zip_file_set_comment(3) with an empty flags argument.
Dieter Baron <[email protected]> and Thomas Klausner <[email protected]>