summaryrefslogtreecommitdiff
path: root/lib/rpmts_internal.h
diff options
context:
space:
mode:
authorLubos Kardos <lkardos@lkardos.brq.redhat.com>2014-09-17 08:34:25 +0200
committerLubos Kardos <lkardos@redhat.com>2015-02-05 08:08:12 +0100
commitb04c4f559b25bf8b6774a445a0e537c8ce1d2c59 (patch)
tree9d295c1a8553d2ea5d1dd19cd838eabcb8574ba5 /lib/rpmts_internal.h
parent2dd2e1f1ffb85d0568d95d7f92c67f747b0bc9de (diff)
downloadrpm-b04c4f559b25bf8b6774a445a0e537c8ce1d2c59.tar.gz
Add hash installedPackages to transaction members structure.
- After transaction this hash contains all packages installed in transaction. This hash can be used as argument of rpmdbFilterIterator() to get all packages installed in transaction from rpmdb. - Rename removedHash to packageHash.
Diffstat (limited to 'lib/rpmts_internal.h')
-rw-r--r--lib/rpmts_internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rpmts_internal.h b/lib/rpmts_internal.h
index 0caa7cb12..b125ce6af 100644
--- a/lib/rpmts_internal.h
+++ b/lib/rpmts_internal.h
@@ -14,7 +14,8 @@ typedef struct diskspaceInfo_s * rpmDiskSpaceInfo;
/* Transaction set elements information */
typedef struct tsMembers_s {
rpmstrPool pool; /*!< Global string pool */
- removedHash removedPackages; /*!< Set of packages being removed. */
+ packageHash removedPackages; /*!< Set of packages being removed. */
+ packageHash installedPackages; /*!< Set of installed packages */
rpmal addedPackages; /*!< Set of packages being installed. */
rpmds rpmlib; /*!< rpmlib() dependency set. */