13 #include <rpm/rpmio.h> 14 #include <rpm/header.h> 15 #include <rpm/rpmtag.h> 16 #include <rpm/rpmds.h> 17 #include <rpm/rpmpgp.h> 19 #ifdef _RPM_4_4_COMPAT 20 #warning RPM 4.4.x compatibility layer has been removed in RPM >= 4.14 33 extern const char *
const rpmNAME;
35 extern const char *
const rpmEVR;
52 #define RPM_MACHTABLE_COUNT 4 60 int rpmReadConfigFiles(const char * file, 158 const char * fn,
Header * hdrp);
179 int rpmvercmp(
const char * a,
const char * b);
const char *const RPMVERSION
rpm_machtable_e
Build and install arch/os table identifiers.
struct rpmMacroContext_s * rpmGlobalMacroContext
int rpmVersionCompare(Header first, Header second)
Compare headers to determine which header is "newer".
int rpmMachineScore(int type, const char *name)
Return arch/os score of a name.
struct rpmts_s * rpmts
The main types involved in transaction manipulation.
struct rpmMacroContext_s * rpmCLIMacroContext
const char *const rpmNAME
struct _FD_s * FD_t
RPM IO file descriptor type.
struct headerToken_s * Header
RPM header and data retrieval types.
int rpmShowRC(FILE *fp)
Display current rpmrc (and macro) configuration.
void rpmGetArchInfo(const char **name, int *num)
Return current arch name and/or number.
int rpmvercmp(const char *a, const char *b)
Segmented string compare for version or release strings.
rpmRC rpmInstallSourcePackage(rpmts ts, FD_t fd, char **specFilePtr, char **cookie)
Install source package.
void rpmGetOsInfo(const char **name, int *num)
Return current os name and/or number.
void rpmFreeRpmrc(void)
Destroy rpmrc arch/os compatibility tables.
int rpmGetArchColor(const char *arch)
Return color for an arch.
enum rpmRC_e rpmRC
Package read return codes.