67 if (method == old_method) {
70 e->changes->compression_level = 0;
71 if (
e->changes->changed == 0) {
78 if (
e->changes ==
NULL) {
85 e->changes->comp_method = method;
ZIP_EXTERN void zip_error_set(zip_error_t *_Nullable, int, int)
ZIP_EXTERN int zip_compression_method_supported(zip_int32_t method, int compress)
#define ZIP_ER_COMPNOTSUPP
static struct sockaddr static addrlen static backlog const void static flags void flags
zip_dirent_t * _zip_dirent_clone(const zip_dirent_t *sde)
void _zip_dirent_free(zip_dirent_t *zde)
ZIP_EXTERN int zip_set_file_compression(zip_t *za, zip_uint64_t idx, zip_int32_t method, zip_uint32_t flags)
#define ZIP_IS_RDONLY(za)
#define ZIP_DIRENT_COMP_METHOD