index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-09-01 17:35:50 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-09-02 21:45:08 -0500 |
commit | 98fdfa1968f81596acd25ed5b77cc968dcd97ead (patch) | |
tree | a04926263ccf75be1188a4924ed512009023bd89 /src/pacman/callback.h | |
parent | 37da18aee8d925ee5cd9f526f2c61d07e9db5b66 (diff) |
-rw-r--r-- | src/pacman/callback.h | 12 |
diff --git a/src/pacman/callback.h b/src/pacman/callback.h index 30b5a71a..e328a22a 100644 --- a/src/pacman/callback.h +++ b/src/pacman/callback.h @@ -24,15 +24,15 @@ #include <alpm.h> -/* callback to handle messages/notifications from libalpm transactions */ -void cb_trans_evt(alpm_transevt_t event, void *data1, void *data2); +/* callback to handle messages/notifications from libalpm */ +void cb_event(alpm_event_t event, void *data1, void *data2); -/* callback to handle questions from libalpm transactions (yes/no) */ -void cb_trans_conv(alpm_transconv_t event, void *data1, void *data2, +/* callback to handle questions from libalpm (yes/no) */ +void cb_question(alpm_question_t event, void *data1, void *data2, void *data3, int *response); -/* callback to handle display of transaction progress */ -void cb_trans_progress(alpm_transprog_t event, const char *pkgname, int percent, +/* callback to handle display of progress */ +void cb_progress(alpm_progress_t event, const char *pkgname, int percent, size_t howmany, size_t remain); /* callback to handle receipt of total download value */ |