summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-06-28 06:48:50 +0200
committerAllan McRae <allan@archlinux.org>2011-06-28 15:28:24 +0200
commit1059df7486054c621423436b801681775a2596c3 (patch)
tree61669ed8582993c33e5ce108202bed20fb5c2cd2 /src
parent565e167356c1ec56803454b2b4c617f21296fb67 (diff)
downloadpacman-1059df7486054c621423436b801681775a2596c3.tar.gz
pacman-1059df7486054c621423436b801681775a2596c3.tar.xz
Rename pmtransprog_t to alpm_transprog_t
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/callback.c2
-rw-r--r--src/pacman/callback.h2
2 files changed, 2 insertions, 2 deletions
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 */