Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | zip_source_file_stat |
struct | zip_source_file_context |
struct | zip_source_file_operations |
Typedefs | |
typedef struct zip_source_file_context | zip_source_file_context_t |
typedef struct zip_source_file_operations | zip_source_file_operations_t |
typedef struct zip_source_file_stat | zip_source_file_stat_t |
Functions | |
zip_source_t * | zip_source_file_common_new (const char *fname, void *file, zip_uint64_t start, zip_int64_t len, const zip_stat_t *st, zip_source_file_operations_t *ops, void *ops_userdata, zip_error_t *error) |
typedef struct zip_source_file_context zip_source_file_context_t |
Definition at line 1 of file zip_source_file.h.
typedef struct zip_source_file_operations zip_source_file_operations_t |
Definition at line 1 of file zip_source_file.h.
typedef struct zip_source_file_stat zip_source_file_stat_t |
Definition at line 1 of file zip_source_file.h.
zip_source_t* zip_source_file_common_new | ( | const char * | fname, |
void * | file, | ||
zip_uint64_t | start, | ||
zip_int64_t | len, | ||
const zip_stat_t * | st, | ||
zip_source_file_operations_t * | ops, | ||
void * | ops_userdata, | ||
zip_error_t * | error | ||
) |
Definition at line 53 of file zip_source_file_common.c.
References _zip_error_copy(), ENOENT, ctx::error, error(), file, create_tags_rz::fname, free(), len, malloc(), memcpy(), NULL, ops, read_file(), sb, start, ZIP_ER_INTERNAL, ZIP_ER_INVAL, ZIP_ER_MEMORY, ZIP_ER_READ, zip_error_init(), zip_error_set(), zip_file_attributes_init(), ZIP_INT64_MAX, ZIP_SOURCE_ACCEPT_EMPTY, ZIP_SOURCE_BEGIN_WRITE, ZIP_SOURCE_BEGIN_WRITE_CLONING, zip_source_file_stat_init(), zip_source_function_create(), ZIP_SOURCE_GET_FILE_ATTRIBUTES, zip_source_make_command_bitmap(), ZIP_SOURCE_MAKE_COMMAND_BITMASK, ZIP_SOURCE_SUPPORTS, ZIP_SOURCE_SUPPORTS_READABLE, ZIP_SOURCE_SUPPORTS_SEEKABLE, ZIP_SOURCE_SUPPORTS_WRITABLE, ZIP_SOURCE_TELL, zip_stat_init(), ZIP_STAT_MTIME, ZIP_STAT_NAME, and ZIP_STAT_SIZE.
Referenced by zip_source_file_create(), zip_source_filep_create(), zip_source_win32a_create(), zip_source_win32handle_create(), and zip_source_win32w_create().