90 if (!same_as_orig &&
e->changes ==
NULL) {
104 old_str =
e->changes->filename;
107 old_str =
e->orig->filename;
136 if (
e->changes->changed == 0) {
142 e->changes->filename =
e->orig->filename;
153 e->changes->filename =
str;
ZIP_EXTERN void zip_error_set(zip_error_t *_Nullable, int, int)
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)
bool _zip_hash_delete(zip_hash_t *hash, const zip_uint8_t *name, zip_error_t *error)
bool _zip_hash_add(zip_hash_t *hash, const zip_uint8_t *name, zip_uint64_t index, zip_flags_t flags, zip_error_t *error)
zip_int64_t _zip_name_locate(zip_t *za, const char *fname, zip_flags_t flags, zip_error_t *error)
int _zip_set_name(zip_t *za, zip_uint64_t idx, const char *name, zip_flags_t flags)
zip_string_t * _zip_string_new(const zip_uint8_t *raw, zip_uint16_t length, zip_flags_t flags, zip_error_t *error)
void _zip_string_free(zip_string_t *s)
const zip_uint8_t * _zip_string_get(zip_string_t *string, zip_uint32_t *lenp, zip_flags_t flags, zip_error_t *error)
int _zip_string_equal(const zip_string_t *a, const zip_string_t *b)
zip_encoding_type_t _zip_guess_encoding(zip_string_t *str, zip_encoding_type_t expected_encoding)
#define ZIP_IS_RDONLY(za)
#define ZIP_DIRENT_FILENAME
#define ZIP_FL_ENCODING_ALL
@ ZIP_ENCODING_UTF8_GUESSED
@ ZIP_ENCODING_UTF8_KNOWN