Rizin
unix-like reverse engineering framework and cli tools
zip_entry.c File Reference
#include "zipint.h"

Go to the source code of this file.

Functions

void _zip_entry_finalize (zip_entry_t *e)
 
void _zip_entry_init (zip_entry_t *e)
 

Function Documentation

◆ _zip_entry_finalize()

void _zip_entry_finalize ( zip_entry_t e)

Definition at line 38 of file zip_entry.c.

38  {
40  _zip_dirent_free(e->orig);
41  _zip_dirent_free(e->changes);
42 }
#define e(frag)
void _zip_dirent_free(zip_dirent_t *zde)
Definition: zip_dirent.c:258
void _zip_unchange_data(zip_entry_t *ze)

References _zip_dirent_free(), _zip_unchange_data(), and e.

Referenced by _zip_cdir_free(), _zip_file_replace(), and zip_discard().

◆ _zip_entry_init()

void _zip_entry_init ( zip_entry_t e)

Definition at line 46 of file zip_entry.c.

46  {
47  e->orig = NULL;
48  e->changes = NULL;
49  e->source = NULL;
50  e->deleted = 0;
51 }
#define NULL
Definition: cris-opc.c:27

References e, and NULL.

Referenced by _zip_add_entry(), and _zip_cdir_grow().