diff options
author | jbj <devnull@localhost> | 2002-05-16 16:55:21 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-05-16 16:55:21 +0000 |
commit | 076a6e29c5c8a35a5f78ae2a15339d030cfe2fdf (patch) | |
tree | c79f91a35a1134d5cd67394c534e804405697d61 /rpmqv.c | |
parent | bc9d22eeb9034966654091306e3e3fc9a9dd7c71 (diff) | |
download | librpm-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-x | rpmqv.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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); |