Manpages - zip_register_progress_callback_with_state.3

libzip (-lzip)

The

function registers a callback function

for the zip archive

The

argument is a double in the range from 0.00 to 1.0 that defines the smallest change for which the callback should be called (to avoid too frequent calls). The

function is called during cleanup for deleting the userdata supplied in

The callback function is called during

in regular intervals (after every zip archive entry that’s completely written to disk, and while writing data for entries) with zip archive

the current progression state as a

and the user-provided user-data

as arguments. The progression state is a

in the range from 0.0 to 1.0. This can be used to provide progress indicators for user interfaces.

was added in libzip 1.3.0.

and

Author: dt

Created: 2022-02-20 Sun 19:18