rpm  4.16.1.2
Variables

In Memoriam: Steve Taylor stayl.nosp@m.or@r.nosp@m.edhat.nosp@m..com was here, now he's not. More...

#include <rpm/rpmio.h>
#include <rpm/header.h>
#include <rpm/rpmtag.h>
#include <rpm/rpmds.h>
#include <rpm/rpmpgp.h>
#include <rpm/rpmver.h>
Include dependency graph for rpmlib.h:

Go to the source code of this file.

Variables

struct rpmMacroContext_s * rpmGlobalMacroContext
 
struct rpmMacroContext_s * rpmCLIMacroContext
 
const char *const RPMVERSION
 
const char *const rpmNAME
 
const char *const rpmEVR
 
const int rpmFLAGS
 

RPMRC

#define RPM_MACHTABLE_COUNT   4
 
enum  rpm_machtable_e { RPM_MACHTABLE_INSTARCH = 0, RPM_MACHTABLE_INSTOS = 1, RPM_MACHTABLE_BUILDARCH = 2, RPM_MACHTABLE_BUILDOS = 3 }
 Build and install arch/os table identifiers. More...
 
int rpmReadConfigFiles (const char *file, const char *target)
 Read macro configuration file(s) for a target. More...
 
void rpmGetArchInfo (const char **name, int *num)
 Return current arch name and/or number. More...
 
int rpmGetArchColor (const char *arch)
 Return color for an arch. More...
 
void rpmGetOsInfo (const char **name, int *num)
 Return current os name and/or number. More...
 
int rpmMachineScore (int type, const char *name)
 Return arch/os score of a name. More...
 
int rpmShowRC (FILE *fp)
 Display current rpmrc (and macro) configuration. More...
 
void rpmFreeRpmrc (void)
 Destroy rpmrc arch/os compatibility tables. More...
 
int rpmVersionCompare (Header first, Header second)
 Compare headers to determine which header is "newer". More...
 
rpmRC headerCheck (rpmts ts, const void *uh, size_t uc, char **msg)
 Check header consistency, performing headerGetEntry() the hard way. More...
 
rpmRC rpmReadHeader (rpmts ts, FD_t fd, Header *hdrp, char **msg)
 Return checked and loaded header. More...
 
rpmRC rpmReadPackageFile (rpmts ts, FD_t fd, const char *fn, Header *hdrp)
 Return package header from file handle, verifying digests/signatures. More...
 
rpmRC rpmInstallSourcePackage (rpmts ts, FD_t fd, char **specFilePtr, char **cookie)
 Install source package. More...
 

Detailed Description

In Memoriam: Steve Taylor stayl.nosp@m.or@r.nosp@m.edhat.nosp@m..com was here, now he's not.

Definition in file rpmlib.h.

Macro Definition Documentation

◆ RPM_MACHTABLE_COUNT

#define RPM_MACHTABLE_COUNT   4

No. of arch/os tables.

Definition at line 51 of file rpmlib.h.

Function Documentation

◆ rpmInstallSourcePackage()

rpmRC rpmInstallSourcePackage ( rpmts  ts,
FD_t  fd,
char **  specFilePtr,
char **  cookie 
)

Install source package.

Parameters
tstransaction set
fdfile handle
Return values
specFilePtraddress of spec file name (or NULL)
cookieaddress of cookie pointer (or NULL)
Returns
rpmRC return code

◆ rpmVersionCompare()

int rpmVersionCompare ( Header  first,
Header  second 
)

Compare headers to determine which header is "newer".

Parameters
first1st header
second2nd header
Returns
result of comparison

Variable Documentation

◆ rpmCLIMacroContext

struct rpmMacroContext_s* rpmCLIMacroContext
extern

◆ rpmEVR

const char* const rpmEVR
extern

◆ rpmFLAGS

const int rpmFLAGS
extern

◆ rpmGlobalMacroContext

struct rpmMacroContext_s* rpmGlobalMacroContext
extern

◆ rpmNAME

const char* const rpmNAME
extern

◆ RPMVERSION

const char* const RPMVERSION
extern