diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2005-03-15 18:41:02 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-03-15 18:41:02 +0000 |
commit | 438f653ba697f1e9c489954bcf96bbc710fdea54 (patch) | |
tree | d23f44427c1e570f0e553b6f120f793ae71a7ca7 /src | |
parent | 518c333ee1dc466544e83afb5f382320bb0d0f3d (diff) | |
download | pacman-438f653ba697f1e9c489954bcf96bbc710fdea54.tar.xz |
Renamed PM_TRANS_CB_XXX to PM_TRANS_EVT_XXX
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/pacman.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 1ecc3ec6..ad5a0436 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -277,40 +277,40 @@ void cb_trans(unsigned short event, void *data1, void *data2) char str[256] = ""; switch(event) { - case PM_TRANS_CB_DEPS_START: + case PM_TRANS_EVT_DEPS_START: MSG(NL, "checking dependencies... "); break; - case PM_TRANS_CB_CONFLICTS_START: + case PM_TRANS_EVT_CONFLICTS_START: MSG(NL, "checking for file conflicts... "); break; - case PM_TRANS_CB_DEPS_DONE: - case PM_TRANS_CB_CONFLICTS_DONE: + case PM_TRANS_EVT_DEPS_DONE: + case PM_TRANS_EVT_CONFLICTS_DONE: MSG(CL, "done.\n"); break; - case PM_TRANS_CB_ADD_START: + case PM_TRANS_EVT_ADD_START: MSG(NL, "installing %s... ", (char *)alpm_pkg_getinfo(data1, PM_PKG_NAME)); break; - case PM_TRANS_CB_ADD_DONE: + case PM_TRANS_EVT_ADD_DONE: MSG(CL, "done.\n"); snprintf(str, 256, "installed %s (%s)", (char *)alpm_pkg_getinfo(data1, PM_PKG_NAME), (char *)alpm_pkg_getinfo(data1, PM_PKG_VERSION)); alpm_logaction(str); break; - case PM_TRANS_CB_REMOVE_START: + case PM_TRANS_EVT_REMOVE_START: MSG(NL, "removing %s... ", (char *)alpm_pkg_getinfo(data1, PM_PKG_NAME)); break; - case PM_TRANS_CB_REMOVE_DONE: + case PM_TRANS_EVT_REMOVE_DONE: MSG(CL, "done.\n"); snprintf(str, 256, "removed %s (%s)", (char *)alpm_pkg_getinfo(data1, PM_PKG_NAME), (char *)alpm_pkg_getinfo(data1, PM_PKG_VERSION)); alpm_logaction(str); break; - case PM_TRANS_CB_UPGRADE_START: + case PM_TRANS_EVT_UPGRADE_START: MSG(NL, "upgrading %s... ", (char *)alpm_pkg_getinfo(data1, PM_PKG_NAME)); break; - case PM_TRANS_CB_UPGRADE_DONE: + case PM_TRANS_EVT_UPGRADE_DONE: MSG(CL, "done.\n"); snprintf(str, 256, "upgraded %s (%s -> %s)", (char *)alpm_pkg_getinfo(data1, PM_PKG_NAME), |