54 if (
len > 0 && comment ==
NULL) {
72 e->changes->comment =
NULL;
76 if (
e->orig &&
e->orig->comment)
79 changed = (cstr !=
NULL);
82 if (
e->changes ==
NULL) {
89 e->changes->comment = cstr;
94 if (
e->changes &&
e->changes->changed == 0) {
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
enum zip_encoding_type encoding
zip_dirent_t * _zip_dirent_clone(const zip_dirent_t *sde)
zip_dirent_t * _zip_get_dirent(zip_t *za, zip_uint64_t idx, zip_flags_t flags, zip_error_t *error)
void _zip_dirent_free(zip_dirent_t *zde)
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)
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_FL_ENCODING_ALL
#define ZIP_DIRENT_COMMENT
@ ZIP_ENCODING_UTF8_GUESSED
@ ZIP_ENCODING_UTF8_KNOWN