Manpages - zip_register_cancel_callback_with_state.3

libzip (-lzip)

This function can be used to cancel writing of a zip archive during

The

function registers a callback function

for the zip archive

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 progress state (see

as a

and the user-provided user-data

as arguments. The progress state is a

in the range from 0.0 to 1.0.

The callback function should be fast, since it will be called often.

was added in libzip 1.6.0.

and

Author: dt

Created: 2022-02-20 Sun 20:41