From 1059df7486054c621423436b801681775a2596c3 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Tue, 28 Jun 2011 14:48:50 +1000 Subject: Rename pmtransprog_t to alpm_transprog_t Signed-off-by: Allan McRae --- src/pacman/callback.c | 2 +- src/pacman/callback.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/pacman/callback.c b/src/pacman/callback.c index c59c566f..f579e7ae 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -343,7 +343,7 @@ void cb_trans_conv(alpm_transconv_t event, void *data1, void *data2, } /* callback to handle display of transaction progress */ -void cb_trans_progress(pmtransprog_t event, const char *pkgname, int percent, +void cb_trans_progress(alpm_transprog_t event, const char *pkgname, int percent, size_t howmany, size_t current) { /* size of line to allocate for text printing (e.g. not progressbar) */ diff --git a/src/pacman/callback.h b/src/pacman/callback.h index 388af39d..30b5a71a 100644 --- a/src/pacman/callback.h +++ b/src/pacman/callback.h @@ -32,7 +32,7 @@ void cb_trans_conv(alpm_transconv_t event, void *data1, void *data2, void *data3, int *response); /* callback to handle display of transaction progress */ -void cb_trans_progress(pmtransprog_t event, const char *pkgname, int percent, +void cb_trans_progress(alpm_transprog_t event, const char *pkgname, int percent, size_t howmany, size_t remain); /* callback to handle receipt of total download value */ -- cgit v1.2.3