122 for (;
ef;
ef =
ef->next) {
151 for (tail =
to; tail->
next; tail = tail->
next)
158 for (tt =
to; tt; tt = tt->
next) {
221 if (ef_data ==
NULL) {
249 if (glen >= 4 || garbage ==
NULL || memcmp(garbage,
"\0\0\0", glen) != 0) {
260 *ef_head_p = ef_head;
304 for (;
ef;
ef =
ef->next) {
322 for (;
ef;
ef =
ef->next) {
364 if (
e->orig ==
NULL ||
e->orig->local_extra_fields_read)
418 e->orig->local_extra_fields_read = 1;
420 if (
e->changes &&
e->changes->local_extra_fields_read == 0) {
421 e->changes->extra_fields =
e->orig->extra_fields;
422 e->changes->local_extra_fields_read = 1;
RZ_API void Ht_() free(HtName_(Ht) *ht)
ZIP_EXTERN void zip_error_set(zip_error_t *_Nullable, int, int)
#define ZIP_EXTRA_FIELD_ALL
ZIP_EXTERN int zip_source_seek(zip_source_t *_Nonnull, zip_int64_t, int)
void * malloc(size_t size)
static struct sockaddr static addrlen static backlog const void static flags void struct sockaddr from
static struct sockaddr static addrlen static backlog const void static flags void struct sockaddr socklen_t static fromlen const void const struct sockaddr to
static struct sockaddr static addrlen static backlog const void static flags void flags
void error(const char *msg)
zip_uint64_t _zip_buffer_left(zip_buffer_t *buffer)
int _zip_buffer_put_16(zip_buffer_t *buffer, zip_uint16_t i)
zip_buffer_t * _zip_buffer_new(zip_uint8_t *data, zip_uint64_t size)
void _zip_buffer_free(zip_buffer_t *buffer)
zip_buffer_t * _zip_buffer_new_from_source(zip_source_t *src, zip_uint64_t size, zip_uint8_t *buf, zip_error_t *error)
bool _zip_buffer_ok(zip_buffer_t *buffer)
zip_uint16_t _zip_buffer_get_16(zip_buffer_t *buffer)
bool _zip_buffer_eof(zip_buffer_t *buffer)
int _zip_buffer_set_offset(zip_buffer_t *buffer, zip_uint64_t offset)
zip_uint8_t * _zip_buffer_get(zip_buffer_t *buffer, zip_uint64_t length)
void _zip_error_set_from_source(zip_error_t *err, zip_source_t *src)
zip_uint8_t * _zip_read_data(zip_buffer_t *buffer, zip_source_t *src, size_t length, bool nulp, zip_error_t *error)
int _zip_write(zip_t *za, const void *data, zip_uint64_t length)
void * _zip_memdup(const void *mem, size_t len, zip_error_t *error)
#define ZIP_EF_IS_INTERNAL(id)
#define ZIP_ER_DETAIL_INVALID_EF_LENGTH
#define ZIP_ER_DETAIL_EF_TRAILING_GARBAGE
int def(FILE *source, FILE *dest, int level)