|
Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
| struct | zip_progress |
| struct | legacy_ud |
Macros | |
| #define | _ZIP_COMPILING_DEPRECATED |
| #define _ZIP_COMPILING_DEPRECATED |
Definition at line 38 of file zip_progress.c.
|
static |
Definition at line 270 of file zip_progress.c.
References legacy_ud::callback.
Referenced by zip_register_progress_callback().
| void _zip_progress_end | ( | zip_progress_t * | progress | ) |
Definition at line 68 of file zip_progress.c.
References _zip_progress_update().
Referenced by zip_close().
| void _zip_progress_free | ( | zip_progress_t * | progress | ) |
Definition at line 74 of file zip_progress.c.
References _zip_progress_free_cancel_callback(), _zip_progress_free_progress_callback(), free(), and NULL.
Referenced by zip_discard(), zip_register_cancel_callback_with_state(), and zip_register_progress_callback_with_state().
|
static |
Definition at line 121 of file zip_progress.c.
References zip_progress::callback_cancel, NULL, zip_progress::ud_cancel, and zip_progress::ud_cancel_free.
Referenced by _zip_progress_free(), _zip_progress_set_cancel_callback(), and zip_register_cancel_callback_with_state().
|
static |
Definition at line 110 of file zip_progress.c.
References zip_progress::callback_progress, NULL, zip_progress::ud_progress, and zip_progress::ud_progress_free.
Referenced by _zip_progress_free(), _zip_progress_set_progress_callback(), and zip_register_progress_callback_with_state().
|
static |
Definition at line 87 of file zip_progress.c.
References zip_progress::callback_cancel, zip_progress::callback_progress, zip::error, malloc(), NULL, zip_progress::precision, zip_progress::ud_cancel, zip_progress::ud_cancel_free, zip_progress::ud_progress, zip_progress::ud_progress_free, zip_progress::za, za, ZIP_ER_MEMORY, and zip_error_set().
Referenced by zip_register_cancel_callback_with_state(), and zip_register_progress_callback_with_state().
|
static |
Definition at line 142 of file zip_progress.c.
References _zip_progress_free_cancel_callback(), zip_progress::callback_cancel, zip_progress::ud_cancel, and zip_progress::ud_cancel_free.
Referenced by zip_register_cancel_callback_with_state().
|
static |
Definition at line 132 of file zip_progress.c.
References _zip_progress_free_progress_callback(), zip_progress::callback_progress, zip_progress::precision, zip_progress::ud_progress, and zip_progress::ud_progress_free.
Referenced by zip_register_progress_callback_with_state().
| int _zip_progress_start | ( | zip_progress_t * | progress | ) |
Definition at line 151 of file zip_progress.c.
References zip_progress::callback_cancel, zip_progress::callback_progress, zip_progress::last_update, NULL, zip_progress::ud_cancel, zip_progress::ud_progress, and zip_progress::za.
Referenced by zip_close().
| int _zip_progress_subrange | ( | zip_progress_t * | progress, |
| double | start, | ||
| double | end | ||
| ) |
Definition at line 172 of file zip_progress.c.
References _zip_progress_update(), test_evm::end, zip_progress::end, NULL, start, and zip_progress::start.
Referenced by zip_close().
| int _zip_progress_update | ( | zip_progress_t * | progress, |
| double | sub_current | ||
| ) |
Definition at line 184 of file zip_progress.c.
References zip_progress::callback_cancel, zip_progress::callback_progress, zip_progress::end, if(), zip_progress::last_update, NULL, zip_progress::precision, zip_progress::start, zip_progress::ud_cancel, zip_progress::ud_progress, zip_progress::za, ZIP_MAX, and ZIP_MIN.
Referenced by _zip_progress_end(), _zip_progress_subrange(), copy_data(), and copy_source().
| ZIP_EXTERN int zip_register_cancel_callback_with_state | ( | zip_t * | za, |
| zip_cancel_callback | callback, | ||
| void(*)(void *) | ud_free, | ||
| void * | ud | ||
| ) |
Definition at line 238 of file zip_progress.c.
References _zip_progress_free(), _zip_progress_free_cancel_callback(), _zip_progress_new(), _zip_progress_set_cancel_callback(), zip_progress::callback_progress, NULL, zip::progress, and za.
| ZIP_EXTERN void zip_register_progress_callback | ( | zip_t * | za, |
| zip_progress_callback_t | progress_callback | ||
| ) |
Definition at line 277 of file zip_progress.c.
References _zip_legacy_progress_callback(), legacy_ud::callback, free(), malloc(), NULL, progress_callback(), za, and zip_register_progress_callback_with_state().
| ZIP_EXTERN int zip_register_progress_callback_with_state | ( | zip_t * | za, |
| double | precision, | ||
| zip_progress_callback | callback, | ||
| void(*)(void *) | ud_free, | ||
| void * | ud | ||
| ) |
Definition at line 211 of file zip_progress.c.
References _zip_progress_free(), _zip_progress_free_progress_callback(), _zip_progress_new(), _zip_progress_set_progress_callback(), zip_progress::callback_cancel, NULL, zip::progress, and za.
Referenced by zip_register_progress_callback().