diff options
author | jbj <devnull@localhost> | 2002-05-19 18:42:25 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-05-19 18:42:25 +0000 |
commit | 2126e4ad09e175a4356a29ab03756dbbeb8c976f (patch) | |
tree | e16e86b43a42c9c7fda695b04189afc1d551661b /build.c | |
parent | 38385c8d6323e3695e0b267ab7b2fcffff9f72b3 (diff) | |
download | librpm-tizen-2126e4ad09e175a4356a29ab03756dbbeb8c976f.tar.gz librpm-tizen-2126e4ad09e175a4356a29ab03756dbbeb8c976f.tar.bz2 librpm-tizen-2126e4ad09e175a4356a29ab03756dbbeb8c976f.zip |
- Grand Renaming of rpm data types.
CVS patchset: 5439
CVS date: 2002/05/19 18:42:25
Diffstat (limited to 'build.c')
-rw-r--r-- | build.c | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -7,23 +7,24 @@ #include <rpmcli.h> #include <rpmbuild.h> +#include "rpmps.h" #include "rpmte.h" #include "rpmts.h" #include "build.h" #include "debug.h" -/*@access rpmTransactionSet @*/ /* XXX compared with NULL @*/ +/*@access rpmts @*/ /* XXX compared with NULL @*/ /*@access rpmdb @*/ /* XXX compared with NULL @*/ /*@access FD_t @*/ /* XXX compared with NULL @*/ /** */ -static int checkSpec(rpmTransactionSet ts, Header h) +static int checkSpec(rpmts ts, Header h) /*@globals fileSystem, internalState @*/ /*@modifies ts, h, fileSystem, internalState @*/ { - rpmProblemSet ps; + rpmps ps; int rc; if (!headerIsEntry(h, RPMTAG_REQUIRENAME) @@ -40,7 +41,7 @@ static int checkSpec(rpmTransactionSet ts, Header h) printDepProblems(stderr, ps); rc = 1; } - ps = rpmProblemSetFree(ps); + ps = rpmpsFree(ps); /* XXX nuke the added package. */ rpmtsClean(ts); @@ -94,7 +95,7 @@ static int isSpecFile(const char * specfile) /** */ -static int buildForTarget(rpmTransactionSet ts, const char * arg, BTA_t ba) +static int buildForTarget(rpmts ts, const char * arg, BTA_t ba) /*@globals rpmGlobalMacroContext, fileSystem, internalState @*/ /*@modifies ts, rpmGlobalMacroContext, @@ -288,7 +289,7 @@ exit: return rc; } -int build(rpmTransactionSet ts, const char * arg, BTA_t ba, const char * rcfile) +int build(rpmts ts, const char * arg, BTA_t ba, const char * rcfile) { char *t, *te; int rc = 0; |