Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
ZIP_EXTERN int | zip_file_set_comment (zip_t *za, zip_uint64_t idx, const char *comment, zip_uint16_t len, zip_flags_t flags) |
ZIP_EXTERN int zip_file_set_comment | ( | zip_t * | za, |
zip_uint64_t | idx, | ||
const char * | comment, | ||
zip_uint16_t | len, | ||
zip_flags_t | flags | ||
) |
Definition at line 41 of file zip_file_set_comment.c.
References _zip_dirent_clone(), _zip_dirent_free(), _zip_get_dirent(), _zip_guess_encoding(), _zip_string_equal(), _zip_string_free(), _zip_string_new(), e, zip_string::encoding, zip::entry, zip::error, flags, setup::idx, len, NULL, za, ZIP_DIRENT_COMMENT, ZIP_ENCODING_UNKNOWN, ZIP_ENCODING_UTF8_GUESSED, ZIP_ENCODING_UTF8_KNOWN, ZIP_ER_INVAL, ZIP_ER_MEMORY, ZIP_ER_RDONLY, zip_error_set(), ZIP_FL_ENC_GUESS, ZIP_FL_ENCODING_ALL, and ZIP_IS_RDONLY.
Referenced by set_file_comment(), and zip_set_file_comment().