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_source_seek (zip_source_t *src, zip_int64_t offset, int whence) |
zip_int64_t | zip_source_seek_compute_offset (zip_uint64_t offset, zip_uint64_t length, void *data, zip_uint64_t data_length, zip_error_t *error) |
ZIP_EXTERN int zip_source_seek | ( | zip_source_t * | src, |
zip_int64_t | offset, | ||
int | whence | ||
) |
Definition at line 39 of file zip_source_seek.c.
References _zip_source_call(), args, SEEK_CUR, SEEK_END, SEEK_SET, src, ZIP_ER_INVAL, zip_error_set(), ZIP_SOURCE_IS_OPEN_READING, and ZIP_SOURCE_SEEK.
Referenced by _zip_checkcons(), _zip_dirent_size(), _zip_file_get_end(), _zip_file_get_offset(), _zip_find_central_dir(), _zip_read_cdir(), _zip_read_eocd64(), _zip_read_local_ef(), crc_read(), window_read(), zip_close(), and zip_fseek().
zip_int64_t zip_source_seek_compute_offset | ( | zip_uint64_t | offset, |
zip_uint64_t | length, | ||
void * | data, | ||
zip_uint64_t | data_length, | ||
zip_error_t * | error | ||
) |
Definition at line 63 of file zip_source_seek.c.
References args, error(), length, NULL, SEEK_CUR, SEEK_END, SEEK_SET, ZIP_ER_INVAL, zip_error_set(), and ZIP_SOURCE_GET_ARGS.
Referenced by buffer_seek(), read_file(), and window_read().