diff options
author | Anatol Pomozov <anatol.pomozov@gmail.com> | 2021-03-16 00:33:08 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2021-03-25 02:39:03 +0100 |
commit | 1e60a5f00674a9a9b0c530c741bd6701d0e1e834 (patch) | |
tree | 8539fba8183d42179f6b5504f32725bd1901de4c /lib/libalpm/handle.h | |
parent | 9bf3d6a7603bf48771a20d1f4bd789670e7446f7 (diff) | |
download | pacman-1e60a5f00674a9a9b0c530c741bd6701d0e1e834.tar.gz pacman-1e60a5f00674a9a9b0c530c741bd6701d0e1e834.tar.xz |
Remove "total download" callback in favor of generic event callback
Total download callback called right before packages start downloaded.
But we already have an event for such event (ALPM_EVENT_PKG_RETRIEVE_START)
and it is naturally to use the event to pass information about expected
download size.
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/handle.h')
-rw-r--r-- | lib/libalpm/handle.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libalpm/handle.h b/lib/libalpm/handle.h index 349ef2c7..2ebaafb2 100644 --- a/lib/libalpm/handle.h +++ b/lib/libalpm/handle.h @@ -72,7 +72,6 @@ struct __alpm_handle_t { /* callback functions */ alpm_cb_log logcb; /* Log callback function */ alpm_cb_download dlcb; /* Download callback function */ - alpm_cb_totaldl totaldlcb; /* Total download callback function */ alpm_cb_fetch fetchcb; /* Download file callback function */ alpm_cb_event eventcb; alpm_cb_question questioncb; |