Rizin
unix-like reverse engineering framework and cli tools
|
#include "zipint.h"
Go to the source code of this file.
Functions | |
ZIP_EXTERN int | zip_set_file_compression (zip_t *za, zip_uint64_t idx, zip_int32_t method, zip_uint32_t flags) |
ZIP_EXTERN int zip_set_file_compression | ( | zip_t * | za, |
zip_uint64_t | idx, | ||
zip_int32_t | method, | ||
zip_uint32_t | flags | ||
) |
Definition at line 39 of file zip_set_file_compression.c.
References _zip_dirent_clone(), _zip_dirent_free(), e, zip::entry, zip::error, flags, setup::idx, zip::nentry, NULL, za, ZIP_CM_DEFAULT, zip_compression_method_supported(), ZIP_DIRENT_COMP_METHOD, ZIP_ER_COMPNOTSUPP, ZIP_ER_INVAL, ZIP_ER_MEMORY, ZIP_ER_RDONLY, zip_error_set(), and ZIP_IS_RDONLY.
Referenced by set_file_compression().