Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
ZIP_EXTERN zip_source_t * | zip_source_function (zip_t *za, zip_source_callback zcb, void *ud) |
ZIP_EXTERN zip_source_t * | zip_source_function_create (zip_source_callback zcb, void *ud, zip_error_t *error) |
ZIP_EXTERN void | zip_source_keep (zip_source_t *src) |
zip_source_t * | _zip_source_new (zip_error_t *error) |
zip_source_t* _zip_source_new | ( | zip_error_t * | error | ) |
Definition at line 76 of file zip_source_function.c.
References error(), malloc(), NULL, src, ZIP_ER_MEMORY, zip_error_init(), zip_error_set(), and ZIP_SOURCE_WRITE_CLOSED.
Referenced by zip_source_function_create(), and zip_source_layered_create().
ZIP_EXTERN zip_source_t* zip_source_function | ( | zip_t * | za, |
zip_source_callback | zcb, | ||
void * | ud | ||
) |
Definition at line 41 of file zip_source_function.c.
References zip::error, NULL, za, and zip_source_function_create().
Referenced by source_nul().
ZIP_EXTERN zip_source_t* zip_source_function_create | ( | zip_source_callback | zcb, |
void * | ud, | ||
zip_error_t * | error | ||
) |
Definition at line 51 of file zip_source_function.c.
References _zip_source_new(), zip_source::cb, error(), zip_source::f, NULL, zip_source::supports, zip_source::ud, zip_source_make_command_bitmap(), ZIP_SOURCE_SUPPORTS, and ZIP_SOURCE_SUPPORTS_READABLE.
Referenced by source_hole_create(), zip_source_buffer_fragment_with_attributes_create(), zip_source_file_common_new(), and zip_source_function().
ZIP_EXTERN void zip_source_keep | ( | zip_source_t * | src | ) |
Definition at line 70 of file zip_source_function.c.
References src.
Referenced by _zip_open(), add_data(), main(), read_to_memory(), and zip_source_layered_create().