#include <stdlib.h>
#define _ZIP_COMPILING_DEPRECATED
#include "zipint.h"
struct zip_progress { … };
static void _zip_progress_free_cancel_callback(zip_progress_t *progress);
static void _zip_progress_free_progress_callback(zip_progress_t *progress);
static zip_progress_t *_zip_progress_new(zip_t *za);
static void _zip_progress_set_cancel_callback(zip_progress_t *progress, zip_cancel_callback callback, void (*ud_free)(void *), void *ud);
static void _zip_progress_set_progress_callback(zip_progress_t *progress, double precision, zip_progress_callback callback, void (*ud_free)(void *), void *ud);
void
_zip_progress_end(zip_progress_t *progress) { … }
void
_zip_progress_free(zip_progress_t *progress) { … }
static zip_progress_t *
_zip_progress_new(zip_t *za) { … }
static void
_zip_progress_free_progress_callback(zip_progress_t *progress) { … }
static void
_zip_progress_free_cancel_callback(zip_progress_t *progress) { … }
static void
_zip_progress_set_progress_callback(zip_progress_t *progress, double precision, zip_progress_callback callback, void (*ud_free)(void *), void *ud) { … }
void
_zip_progress_set_cancel_callback(zip_progress_t *progress, zip_cancel_callback callback, void (*ud_free)(void *), void *ud) { … }
int
_zip_progress_start(zip_progress_t *progress) { … }
int
_zip_progress_subrange(zip_progress_t *progress, double start, double end) { … }
int
_zip_progress_update(zip_progress_t *progress, double sub_current) { … }
ZIP_EXTERN int
zip_register_progress_callback_with_state(zip_t *za, double precision, zip_progress_callback callback, void (*ud_free)(void *), void *ud) { … }
ZIP_EXTERN int
zip_register_cancel_callback_with_state(zip_t *za, zip_cancel_callback callback, void (*ud_free)(void *), void *ud) { … }
struct legacy_ud { … };
static void
_zip_legacy_progress_callback(zip_t *za, double progress, void *vud) { … }
ZIP_EXTERN void
zip_register_progress_callback(zip_t *za, zip_progress_callback_t progress_callback) { … }