rpm
4.15.1
|
How to retrieve information from a transaction element. More...
Files | |
file | rpmte.h |
Structures used for an "rpmte" transaction element. | |
Typedefs | |
typedef enum rpmElementType_e | rpmElementType |
Transaction element type. More... | |
Enumerations | |
enum | rpmElementType_e { TR_ADDED = (1 << 0), TR_REMOVED = (1 << 1), TR_RPMDB = (1 << 2) } |
Transaction element type. More... | |
Functions | |
Header | rpmteHeader (rpmte te) |
Retrieve header from transaction element. More... | |
Header | rpmteSetHeader (rpmte te, Header h) |
Save header into transaction element. More... | |
rpmElementType | rpmteType (rpmte te) |
Retrieve type of transaction element. More... | |
const char * | rpmteN (rpmte te) |
Retrieve name string of transaction element. More... | |
const char * | rpmteE (rpmte te) |
Retrieve epoch string of transaction element. More... | |
const char * | rpmteV (rpmte te) |
Retrieve version string of transaction element. More... | |
const char * | rpmteR (rpmte te) |
Retrieve release string of transaction element. More... | |
const char * | rpmteA (rpmte te) |
Retrieve arch string of transaction element. More... | |
const char * | rpmteO (rpmte te) |
Retrieve os string of transaction element. More... | |
int | rpmteIsSource (rpmte te) |
Retrieve isSource attribute of transaction element. More... | |
rpm_color_t | rpmteColor (rpmte te) |
Retrieve color bits of transaction element. More... | |
rpm_color_t | rpmteSetColor (rpmte te, rpm_color_t color) |
Set color bits of transaction element. More... | |
unsigned int | rpmteDBInstance (rpmte te) |
Retrieve last instance installed to the database. More... | |
void | rpmteSetDBInstance (rpmte te, unsigned int instance) |
Set last instance installed to the database. More... | |
rpm_loff_t | rpmtePkgFileSize (rpmte te) |
Retrieve size in bytes of package file. More... | |
rpmte | rpmteParent (rpmte te) |
Retrieve parent transaction element. More... | |
rpmte | rpmteSetParent (rpmte te, rpmte pte) |
Set parent transaction element. More... | |
rpmps | rpmteProblems (rpmte te) |
Return problem set info of transaction element. More... | |
void | rpmteCleanProblems (rpmte te) |
Destroy problem set info of transaction element. More... | |
void | rpmteCleanDS (rpmte te) |
Destroy dependency set info of transaction element. More... | |
void | rpmteSetDependsOn (rpmte te, rpmte depends) |
Set dependent element of transaction element. More... | |
rpmte | rpmteDependsOn (rpmte te) |
Retrieve dependent element of transaction element. More... | |
int | rpmteDBOffset (rpmte te) |
Retrieve rpmdb instance of transaction element. More... | |
const char * | rpmteEVR (rpmte te) |
Retrieve [epoch:]version-release string from transaction element. More... | |
const char * | rpmteNEVR (rpmte te) |
Retrieve name-[epoch:]version-release string from transaction element. More... | |
const char * | rpmteNEVRA (rpmte te) |
Retrieve name-[epoch:]version-release.arch string from transaction element. More... | |
fnpyKey | rpmteKey (rpmte te) |
Retrieve key from transaction element. More... | |
int | rpmteFailed (rpmte te) |
Return failure status of transaction element. More... | |
rpmds | rpmteDS (rpmte te, rpmTagVal tag) |
Retrieve dependency tag set from transaction element. More... | |
rpmfiles | rpmteFiles (rpmte te) |
Retrieve file info set from transaction element. More... | |
rpmfi | rpmteFI (rpmte te) |
Retrieve file info iterator from transaction element. More... | |
int | rpmteVerified (rpmte te) |
Retrieve verification status from transaction element. More... | |
rpmtsi | rpmtsiFree (rpmtsi tsi) |
Destroy transaction element iterator. More... | |
rpmtsi | rpmtsiInit (rpmts ts) |
Create transaction element iterator. More... | |
rpmte | rpmtsiNext (rpmtsi tsi, rpmElementTypes types) |
Return next transaction element of type. More... | |
How to retrieve information from a transaction element.
typedef enum rpmElementType_e rpmElementType |
Transaction element type.
enum rpmElementType_e |
const char* rpmteA | ( | rpmte | te | ) |
Retrieve arch string of transaction element.
te | transaction element |
void rpmteCleanDS | ( | rpmte | te | ) |
Destroy dependency set info of transaction element.
te | transaction element |
void rpmteCleanProblems | ( | rpmte | te | ) |
Destroy problem set info of transaction element.
te | transaction element |
rpm_color_t rpmteColor | ( | rpmte | te | ) |
Retrieve color bits of transaction element.
te | transaction element |
unsigned int rpmteDBInstance | ( | rpmte | te | ) |
Retrieve last instance installed to the database.
te | transaction element |
int rpmteDBOffset | ( | rpmte | te | ) |
Retrieve rpmdb instance of transaction element.
te | transaction element |
Retrieve dependent element of transaction element.
te | transaction element |
Retrieve dependency tag set from transaction element.
te | transaction element |
tag | dependency tag |
const char* rpmteE | ( | rpmte | te | ) |
Retrieve epoch string of transaction element.
te | transaction element |
const char* rpmteEVR | ( | rpmte | te | ) |
Retrieve [epoch:]version-release string from transaction element.
te | transaction element |
int rpmteFailed | ( | rpmte | te | ) |
Return failure status of transaction element.
If the element itself failed, this is 1, larger count means one of it's parents failed.
te | transaction element |
Retrieve file info iterator from transaction element.
te | transaction element |
Retrieve file info set from transaction element.
te | transaction element |
Retrieve header from transaction element.
te | transaction element |
int rpmteIsSource | ( | rpmte | te | ) |
Retrieve isSource attribute of transaction element.
te | transaction element |
Retrieve key from transaction element.
te | transaction element |
const char* rpmteN | ( | rpmte | te | ) |
Retrieve name string of transaction element.
te | transaction element |
const char* rpmteNEVR | ( | rpmte | te | ) |
Retrieve name-[epoch:]version-release string from transaction element.
te | transaction element |
const char* rpmteNEVRA | ( | rpmte | te | ) |
Retrieve name-[epoch:]version-release.arch string from transaction element.
te | transaction element |
const char* rpmteO | ( | rpmte | te | ) |
Retrieve os string of transaction element.
te | transaction element |
Retrieve parent transaction element.
te | transaction element |
rpm_loff_t rpmtePkgFileSize | ( | rpmte | te | ) |
Retrieve size in bytes of package file.
te | transaction element |
Return problem set info of transaction element.
te | transaction element |
const char* rpmteR | ( | rpmte | te | ) |
Retrieve release string of transaction element.
te | transaction element |
rpm_color_t rpmteSetColor | ( | rpmte | te, |
rpm_color_t | color | ||
) |
Set color bits of transaction element.
te | transaction element |
color | new color bits |
void rpmteSetDBInstance | ( | rpmte | te, |
unsigned int | instance | ||
) |
Set last instance installed to the database.
te | transaction element |
instance | Database instance of last install element. |
Set dependent element of transaction element.
te | transaction element |
depends | dependent transaction element |
Save header into transaction element.
te | transaction element |
h | header |
Set parent transaction element.
te | transaction element |
pte | new parent transaction element |
rpmElementType rpmteType | ( | rpmte | te | ) |
Retrieve type of transaction element.
te | transaction element |
const char* rpmteV | ( | rpmte | te | ) |
Retrieve version string of transaction element.
te | transaction element |
int rpmteVerified | ( | rpmte | te | ) |
Retrieve verification status from transaction element.
Returns RPMSIG_UNVERIFIED_TYPE if no verify has been attempted, otherwise RPMSIG_SIGNATURE_TYPE and RPMSIG_DIGEST_TYPE bits will be set if that type of verification was successfully performed.
te | transaction element |
Destroy transaction element iterator.
tsi | transaction element iterator |
Create transaction element iterator.
ts | transaction set |
rpmte rpmtsiNext | ( | rpmtsi | tsi, |
rpmElementTypes | types | ||
) |
Return next transaction element of type.
tsi | transaction element iterator |
types | transaction element type selector (0 for any) |