#include <popt.h>
#include <rpm/rpmio.h>
#include <rpm/header.h>
#include <rpm/rpmtag.h>
#include <rpm/rpmds.h>
#include <rpm/rpmpgp.h>
Go to the source code of this file.
Functions | |
void | headerMergeLegacySigs (Header h, const Header sigh) |
Translate and merge legacy signature tags into header. | |
Header | headerRegenSigHeader (const Header h, int noArchiveSize) |
Regenerate signature header. | |
RPMK | |
rpmRC | rpmVerifySignature (rpmKeyring keyring, rpmtd sigtd, pgpDig dig, char **result) |
Verify a signature from a package. | |
Header | rpmFreeSignature (Header h) |
Destroy signature header from package. | |
Variables | |
struct rpmMacroContext_s * | rpmGlobalMacroContext |
struct rpmMacroContext_s * | rpmCLIMacroContext |
const char *const | RPMVERSION |
const char *const | rpmNAME |
const char *const | rpmEVR |
const int | rpmFLAGS |
Definition in file rpmlib.h.
void rpmFreeFilesystems | ( | void | ) |
int rpmGetFilesystemList | ( | const char *** | listptr, | |
unsigned int * | num | |||
) |
Return (cached) file system mount points.
listptr | addess of file system names (or NULL) | |
num | address of number of file systems (or NULL) |
int rpmGetFilesystemUsage | ( | const char ** | fileList, | |
rpm_loff_t * | fssizes, | |||
unsigned int | numFiles, | |||
rpm_loff_t ** | usagesPtr, | |||
int | flags | |||
) |
Determine per-file system usage for a list of files.
fileList | array of absolute file names | |
fssizes | array of file sizes | |
numFiles | number of files in list |
usagesPtr | address of per-file system usage array (or NULL) |
flags | (unused) |
Install source package.
ts | transaction set | |
fd | file handle |
specFilePtr | address of spec file name (or NULL) | |
cookie | address of cookie pointer (or NULL) |
int rpmvercmp | ( | const char * | a, | |
const char * | b | |||
) |
Segmented string compare for version or release strings.
a | 1st string | |
b | 2nd string |
Compare headers to determine which header is "newer".
first | 1st header | |
second | 2nd header |
struct rpmMacroContext_s* rpmCLIMacroContext |
const char* const rpmEVR |
Referenced by printVersion().
const int rpmFLAGS |
struct rpmMacroContext_s* rpmGlobalMacroContext |
const char* const rpmNAME |
const char* const RPMVERSION |