summaryrefslogtreecommitdiff
path: root/rpmqv.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-05-16 16:55:21 +0000
committerjbj <devnull@localhost>2002-05-16 16:55:21 +0000
commit076a6e29c5c8a35a5f78ae2a15339d030cfe2fdf (patch)
treec79f91a35a1134d5cd67394c534e804405697d61 /rpmqv.c
parentbc9d22eeb9034966654091306e3e3fc9a9dd7c71 (diff)
downloadlibrpm-tizen-076a6e29c5c8a35a5f78ae2a15339d030cfe2fdf.tar.gz
librpm-tizen-076a6e29c5c8a35a5f78ae2a15339d030cfe2fdf.tar.bz2
librpm-tizen-076a6e29c5c8a35a5f78ae2a15339d030cfe2fdf.zip
- opaque (well mostly) rpmTransactionSet using methods.
CVS patchset: 5437 CVS date: 2002/05/16 16:55:21
Diffstat (limited to 'rpmqv.c')
-rwxr-xr-xrpmqv.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/rpmqv.c b/rpmqv.c
index 3a2e516c8..48a19be29 100755
--- a/rpmqv.c
+++ b/rpmqv.c
@@ -13,6 +13,9 @@
#include <rpmcli.h>
#include <rpmbuild.h>
+#include "rpmdb.h"
+#include "rpmts.h"
+
#define POPT_NODEPS 1025
#define POPT_FORCE 1026
#define POPT_NOMD5 1027
@@ -932,7 +935,8 @@ int main(int argc, const char ** argv)
(void) close(p[1]);
}
- ts = rpmtransCreateSet(NULL, rootdir);
+ ts = rpmtsCreate();
+ (void) rpmtsSetRootDir(ts, rootdir);
switch (bigMode) {
#ifdef IAM_RPMDB
case MODE_INITDB:
@@ -1183,7 +1187,7 @@ ia->probFilter |= RPMPROB_FILTER_OLDPACKAGE;
exit:
#endif /* IAM_RPMBT || IAM_RPMK */
- ts = rpmtransFree(ts);
+ ts = rpmtsFree(ts);
optCon = poptFreeContext(optCon);
rpmFreeMacros(NULL);