rpm
4.10.0
|
Files | |
file | rpmte.h |
Structures used for an "rpmte" transaction element. | |
Typedefs | |
typedef enum rpmElementType_e | rpmElementType |
Transaction element type. | |
Enumerations | |
enum | rpmElementType_e { TR_ADDED = (1 << 0), TR_REMOVED = (1 << 1) } |
Transaction element type. More... | |
Functions | |
Header | rpmteHeader (rpmte te) |
Retrieve header from transaction element. | |
Header | rpmteSetHeader (rpmte te, Header h) |
Save header into transaction element. | |
rpmElementType | rpmteType (rpmte te) |
Retrieve type of transaction element. | |
const char * | rpmteN (rpmte te) |
Retrieve name string of transaction element. | |
const char * | rpmteE (rpmte te) |
Retrieve epoch string of transaction element. | |
const char * | rpmteV (rpmte te) |
Retrieve version string of transaction element. | |
const char * | rpmteR (rpmte te) |
Retrieve release string of transaction element. | |
const char * | rpmteA (rpmte te) |
Retrieve arch string of transaction element. | |
const char * | rpmteO (rpmte te) |
Retrieve os string of transaction element. | |
int | rpmteIsSource (rpmte te) |
Retrieve isSource attribute of transaction element. | |
rpm_color_t | rpmteColor (rpmte te) |
Retrieve color bits of transaction element. | |
rpm_color_t | rpmteSetColor (rpmte te, rpm_color_t color) |
Set color bits of transaction element. | |
unsigned int | rpmteDBInstance (rpmte te) |
Retrieve last instance installed to the database. | |
void | rpmteSetDBInstance (rpmte te, unsigned int instance) |
Set last instance installed to the database. | |
rpm_loff_t | rpmtePkgFileSize (rpmte te) |
Retrieve size in bytes of package file. | |
rpmte | rpmteParent (rpmte te) |
Retrieve parent transaction element. | |
rpmte | rpmteSetParent (rpmte te, rpmte pte) |
Set parent transaction element. | |
rpmps | rpmteProblems (rpmte te) |
Return problem set info of transaction element. | |
void | rpmteCleanProblems (rpmte te) |
Destroy problem set info of transaction element. | |
void | rpmteCleanDS (rpmte te) |
Destroy dependency set info of transaction element. | |
void | rpmteSetDependsOn (rpmte te, rpmte depends) |
Set dependent element of TR_REMOVED transaction element. | |
rpmte | rpmteDependsOn (rpmte te) |
Retrieve dependent element of TR_REMOVED transaction element. | |
int | rpmteDBOffset (rpmte te) |
Retrieve rpmdb instance of TR_REMOVED transaction element. | |
const char * | rpmteEVR (rpmte te) |
Retrieve [epoch:]version-release string from transaction element. | |
const char * | rpmteNEVR (rpmte te) |
Retrieve name-[epoch:]version-release string from transaction element. | |
const char * | rpmteNEVRA (rpmte te) |
Retrieve name-[epoch:]version-release.arch string from transaction element. | |
fnpyKey | rpmteKey (rpmte te) |
Retrieve key from transaction element. | |
int | rpmteFailed (rpmte te) |
Return failure status of transaction element. | |
rpmds | rpmteDS (rpmte te, rpmTagVal tag) |
Retrieve dependency tag set from transaction element. | |
rpmfi | rpmteFI (rpmte te) |
Retrieve file info tag set from transaction element. | |
ARGV_const_t | rpmteCollections (rpmte te) |
Retrieve list of collections. | |
int | rpmteHasCollection (rpmte te, const char *collname) |
Determine a transaction element is part of a collection. | |
rpmtsi | rpmtsiFree (rpmtsi tsi) |
Destroy transaction element iterator. | |
rpmtsi | rpmtsiInit (rpmts ts) |
Create transaction element iterator. | |
rpmte | rpmtsiNext (rpmtsi tsi, rpmElementTypes types) |
Return next transaction element of type. |
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 |
ARGV_const_t rpmteCollections | ( | rpmte | te | ) |
Retrieve list of collections.
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 TR_REMOVED transaction element.
te | transaction element |
Retrieve dependent element of TR_REMOVED 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 tag set from transaction element.
te | transaction element |
int rpmteHasCollection | ( | rpmte | te, |
const char * | collname | ||
) |
Determine a transaction element is part of a collection.
te | transaction element |
collname | collection name |
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 TR_REMOVED 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 |
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) |