From 7be278677ea6deb0bed516dbc223c2d10f8d4c4f Mon Sep 17 00:00:00 2001 From: ewt Date: Thu, 6 Feb 1997 20:31:43 +0000 Subject: [PATCH] changed a bunch of parameter names for cleanliness CVS patchset: 1397 CVS date: 1997/02/06 20:31:43 --- lib/rpmlib.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/rpmlib.h b/lib/rpmlib.h index 38ceeef..5dc29bc 100644 --- a/lib/rpmlib.h +++ b/lib/rpmlib.h @@ -198,7 +198,7 @@ char *rpmGetOsName(void); char *rpmGetArchName(void); int rpmShowRC(FILE *f); int rpmArchScore(char * arch); -int rpmOsScore(char * arch); +int rpmOsScore(char * os); /** **/ @@ -207,9 +207,9 @@ typedef struct rpmdb * rpmdb; typedef void (*rpmNotifyFunction)(const unsigned long amount, const unsigned long total); -int rpmdbOpen (char * prefix, rpmdb * dbp, int mode, int perms); +int rpmdbOpen (char * root, rpmdb * dbp, int mode, int perms); /* 0 on error */ -int rpmdbInit(char * prefix, int perms); +int rpmdbInit(char * root, int perms); /* nonzero on error */ void rpmdbClose (rpmdb db); @@ -221,20 +221,20 @@ Header rpmdbGetRecord(rpmdb db, unsigned int offset); int rpmdbFindByFile(rpmdb db, char * filespec, dbiIndexSet * matches); int rpmdbFindByGroup(rpmdb db, char * group, dbiIndexSet * matches); int rpmdbFindPackage(rpmdb db, char * name, dbiIndexSet * matches); -int rpmdbFindByProvides(rpmdb db, char * filespec, dbiIndexSet * matches); -int rpmdbFindByRequiredBy(rpmdb db, char * filespec, dbiIndexSet * matches); -int rpmdbFindByConflicts(rpmdb db, char * filespec, dbiIndexSet * matches); +int rpmdbFindByProvides(rpmdb db, char * provides, dbiIndexSet * matches); +int rpmdbFindByRequiredBy(rpmdb db, char * requires, dbiIndexSet * matches); +int rpmdbFindByConflicts(rpmdb db, char * conflicts, dbiIndexSet * matches); -int rpmInstallSourcePackage(char * prefix, int fd, char ** specFile, +int rpmInstallSourcePackage(char * root, int fd, char ** specFile, rpmNotifyFunction notify, char * labelFormat); int rpmInstallPackage(char * rootdir, rpmdb db, int fd, char * prefix, int flags, rpmNotifyFunction notify, char * labelFormat, char * netsharedPath); int rpmVersionCompare(Header first, Header second); -int rpmRemovePackage(char * prefix, rpmdb db, unsigned int offset, int test); -int rpmdbRebuild(char * prefix); +int rpmRemovePackage(char * root, rpmdb db, unsigned int offset, int flags); +int rpmdbRebuild(char * root); -int rpmVerifyFile(char * prefix, Header h, int filenum, int * result, +int rpmVerifyFile(char * root, Header h, int filenum, int * result, int omitMask); int rpmVerifyScript(char * root, Header h, int err); -- 2.7.4