summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorewt <devnull@localhost>1996-07-16 03:37:28 +0000
committerewt <devnull@localhost>1996-07-16 03:37:28 +0000
commit88a305a6ac03008c271b43ecf9b4439cad3a46ad (patch)
treee26effe9c551491cf19593ee36a4065393613e59 /lib
parent2320fb3fc0fa977e62dc2b72cbf7182c34590a71 (diff)
downloadrpm-88a305a6ac03008c271b43ecf9b4439cad3a46ad.tar.gz
rpm-88a305a6ac03008c271b43ecf9b4439cad3a46ad.tar.bz2
rpm-88a305a6ac03008c271b43ecf9b4439cad3a46ad.zip
1) added INSTALL_NOOS flag
2) renamed showRc() rpmShowRC() 3) added rpmOsScore() CVS patchset: 848 CVS date: 1996/07/16 03:37:28
Diffstat (limited to 'lib')
-rw-r--r--lib/rpmlib.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/rpmlib.h b/lib/rpmlib.h
index 475411f95..a694f57e4 100644
--- a/lib/rpmlib.h
+++ b/lib/rpmlib.h
@@ -102,6 +102,7 @@ extern const int rpmTagTableSize;
#define INSTALL_NODOCS (1 << 5)
#define INSTALL_NOSCRIPTS (1 << 6)
#define INSTALL_NOARCH (1 << 7)
+#define INSTALL_NOOS (1 << 8)
#define UNINSTALL_TEST (1 << 0)
#define UNINSTALL_NOSCRIPTS (1 << 1)
@@ -169,7 +170,7 @@ int getOsNum(void);
int getArchNum(void);
char *getOsName(void);
char *getArchName(void);
-int showRc(FILE *f);
+int rpmShowRC(FILE *f);
typedef struct rpmdb * rpmdb;
@@ -194,6 +195,7 @@ int rpmdbFindByProvides(rpmdb db, char * filespec, dbIndexSet * matches);
int rpmdbFindByRequiredBy(rpmdb db, char * filespec, dbIndexSet * matches);
int rpmArchScore(char * arch);
+int rpmOsScore(char * arch);
int rpmInstallSourcePackage(char * prefix, int fd, char ** specFile);
int rpmInstallPackage(char * rootdir, rpmdb db, int fd, char * prefix,
int flags, notifyFunction notify, char * labelFormat);