1ZIP_REGISTER_PROGRESS... BSD Library Functions Manual ZIP_REGISTER_PROGRESS...
2

NAME

4     zip_register_progress_callback — provide updates during zip_close (obso‐
5     lete interface)
6

LIBRARY

8     libzip (-lzip)
9

SYNOPSIS

11     #include <zip.h>
12
13     typedef void (*zip_progress_callback_t)(double);
14
15     void
16     zip_register_progress_callback(zip_t *archive,
17         zip_progress_callback_t progress_callback);
18

DESCRIPTION

20     The function zip_register_progress_callback() is the obsolete version of
21     zip_register_progress_callback_with_state(3).
22
23     The zip_register_progress_callback() function registers a callback func‐
24     tion progress_callback for the zip archive archive.  This function is
25     called during zip_close(3) after every zip archive entry that's com‐
26     pletely written to disk.  The value is a double in the range from 0.0 to
27     1.0.  This can be used to provide progress indicators for user inter‐
28     faces.
29

SEE ALSO

31     libzip(3), zip_close(3)
32

HISTORY

34     zip_register_progress_callback() was added in libzip 1.2.0.  It was dep‐
35     recated in libzip 1.3.0, use zip_register_progress_callback_with_state()
36     instead.
37

AUTHORS

39     Dieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>
40
41BSD                            December 18, 2017                           BSD
Impressum