Rizin
unix-like reverse engineering framework and cli tools
|
#include "zipint.h"
Go to the source code of this file.
Functions | |
ZIP_EXTERN int | zip_file_set_dostime (zip_t *za, zip_uint64_t idx, zip_uint16_t dtime, zip_uint16_t ddate, zip_flags_t flags) |
ZIP_EXTERN int | zip_file_set_mtime (zip_t *za, zip_uint64_t idx, time_t mtime, zip_flags_t flags) |
ZIP_EXTERN int zip_file_set_dostime | ( | zip_t * | za, |
zip_uint64_t | idx, | ||
zip_uint16_t | dtime, | ||
zip_uint16_t | ddate, | ||
zip_flags_t | flags | ||
) |
Definition at line 37 of file zip_file_set_mtime.c.
References _zip_d2u_time(), flags, setup::idx, za, and zip_file_set_mtime().
Referenced by set_file_dostime().
ZIP_EXTERN int zip_file_set_mtime | ( | zip_t * | za, |
zip_uint64_t | idx, | ||
time_t | mtime, | ||
zip_flags_t | flags | ||
) |
Definition at line 44 of file zip_file_set_mtime.c.
References _zip_dirent_clone(), _zip_get_dirent(), e, zip::entry, zip::error, setup::idx, NULL, za, ZIP_DIRENT_ENCRYPTION_METHOD, ZIP_DIRENT_LAST_MOD, ZIP_EM_TRAD_PKWARE, ZIP_ENTRY_CHANGED, ZIP_ENTRY_DATA_CHANGED, ZIP_ER_MEMORY, ZIP_ER_OPNOTSUPP, ZIP_ER_RDONLY, zip_error_set(), and ZIP_IS_RDONLY.
Referenced by set_file_mtime(), set_file_mtime_all(), and zip_file_set_dostime().