diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2005-04-02 20:33:11 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-04-02 20:33:11 +0000 |
commit | 1c28e29eb4b0e310616b80fa8979ecc53b3a052b (patch) | |
tree | 1b98f43fe76d123d3dbeec04d8c3fcd5f258fbb9 | |
parent | 3dc36aa0e15b669883e88ee418bfaa3e53a58e3f (diff) | |
download | pacman-1c28e29eb4b0e310616b80fa8979ecc53b3a052b.tar.xz |
added support for PACKAGES field in alpm_trans_getinfo
-rw-r--r-- | lib/libalpm/alpm.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c index c8c8f3e1..96ca1be5 100644 --- a/lib/libalpm/alpm.c +++ b/lib/libalpm/alpm.c @@ -480,9 +480,10 @@ void *alpm_trans_getinfo(unsigned char parm) trans = handle->trans; switch(parm) { - case PM_TRANS_TYPE: data = (void *)(int)trans->type; break; - case PM_TRANS_FLAGS: data = (void *)(int)trans->flags; break; - case PM_TRANS_TARGETS: data = trans->targets; break; + case PM_TRANS_TYPE: data = (void *)(int)trans->type; break; + case PM_TRANS_FLAGS: data = (void *)(int)trans->flags; break; + case PM_TRANS_TARGETS: data = trans->targets; break; + case PM_TRANS_PACKAGES: data = trans->packages; break; default: data = NULL; break; |