rpmte.h
Go to the documentation of this file.
#ifndef H_RPMTE
#define H_RPMTE
#include <rpm/rpmtypes.h>
#include <rpm/argv.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef enum rpmElementType_e {
TR_ADDED = (1 << 0),
TR_REMOVED = (1 << 1),
TR_RPMDB = (1 << 2),
} rpmElementType;
typedef rpmFlags rpmElementTypes;
Header rpmteHeader(rpmte te);
Header rpmteSetHeader(rpmte te, Header h);
rpmElementType rpmteType(rpmte te);
const char * rpmteN(rpmte te);
const char * rpmteE(rpmte te);
const char * rpmteV(rpmte te);
const char * rpmteR(rpmte te);
const char * rpmteA(rpmte te);
const char * rpmteO(rpmte te);
int rpmteIsSource(rpmte te);
rpm_color_t rpmteColor(rpmte te);
rpm_color_t rpmteSetColor(rpmte te, rpm_color_t color);
unsigned int rpmteDBInstance(rpmte te);
void rpmteSetDBInstance(rpmte te, unsigned int instance);
rpm_loff_t rpmtePkgFileSize(rpmte te);
rpmte rpmteParent(rpmte te);
rpmte rpmteSetParent(rpmte te, rpmte pte);
rpmps rpmteProblems(rpmte te);
void rpmteCleanProblems(rpmte te);
void rpmteCleanDS(rpmte te);
void rpmteSetDependsOn(rpmte te, rpmte depends);
rpmte rpmteDependsOn(rpmte te);
int rpmteDBOffset(rpmte te);
const char * rpmteEVR(rpmte te);
const char * rpmteNEVR(rpmte te);
const char * rpmteNEVRA(rpmte te);
fnpyKey rpmteKey(rpmte te);
int rpmteFailed(rpmte te);
rpmds rpmteDS(rpmte te, rpmTagVal tag);
rpmfiles rpmteFiles(rpmte te);
rpmfi rpmteFI(rpmte te);
int rpmteVerified(rpmte te);
#ifdef __cplusplus
}
#endif
#endif /* H_RPMTE */
rpmteFI
rpmfi rpmteFI(rpmte te)
rpmteKey
fnpyKey rpmteKey(rpmte te)
rpmteParent
rpmte rpmteParent(rpmte te)
rpmps
struct rpmps_s * rpmps
Definition: rpmtypes.h:71
rpmFlags
uint32_t rpmFlags
Definition: rpmtypes.h:42
rpmtePkgFileSize
rpm_loff_t rpmtePkgFileSize(rpmte te)
rpmteA
const char * rpmteA(rpmte te)
rpmteProblems
rpmps rpmteProblems(rpmte te)
rpmElementType_e
rpmElementType_e
Definition: rpmte.h:19
rpmteCleanDS
void rpmteCleanDS(rpmte te)
rpmfiles
struct rpmfiles_s * rpmfiles
Definition: rpmtypes.h:67
rpmElementType
enum rpmElementType_e rpmElementType
rpmteO
const char * rpmteO(rpmte te)
TR_REMOVED
@ TR_REMOVED
Definition: rpmte.h:21
rpmteNEVR
const char * rpmteNEVR(rpmte te)
rpmteSetHeader
Header rpmteSetHeader(rpmte te, Header h)
rpmteIsSource
int rpmteIsSource(rpmte te)
rpmteR
const char * rpmteR(rpmte te)
rpmteSetDependsOn
void rpmteSetDependsOn(rpmte te, rpmte depends)
rpmteEVR
const char * rpmteEVR(rpmte te)
TR_ADDED
@ TR_ADDED
Definition: rpmte.h:20
rpm_color_t
uint32_t rpm_color_t
Definition: rpmtypes.h:38
rpmfi
struct rpmfi_s * rpmfi
Definition: rpmtypes.h:66
rpmteDBInstance
unsigned int rpmteDBInstance(rpmte te)
rpmElementTypes
rpmFlags rpmElementTypes
Definition: rpmte.h:25
rpmteFailed
int rpmteFailed(rpmte te)
rpmteFiles
rpmfiles rpmteFiles(rpmte te)
rpmteDS
rpmds rpmteDS(rpmte te, rpmTagVal tag)
rpmteCleanProblems
void rpmteCleanProblems(rpmte te)
rpmteDBOffset
int rpmteDBOffset(rpmte te)
rpmte
struct rpmte_s * rpmte
Definition: rpmtypes.h:64
rpmteV
const char * rpmteV(rpmte te)
rpmteE
const char * rpmteE(rpmte te)
TR_RPMDB
@ TR_RPMDB
Definition: rpmte.h:22
rpm_loff_t
uint64_t rpm_loff_t
Definition: rpmtypes.h:51
rpmds
struct rpmds_s * rpmds
Definition: rpmtypes.h:65
fnpyKey
const void * fnpyKey
Definition: rpmtypes.h:76
rpmteNEVRA
const char * rpmteNEVRA(rpmte te)
rpmteSetColor
rpm_color_t rpmteSetColor(rpmte te, rpm_color_t color)
rpmteVerified
int rpmteVerified(rpmte te)
Header
struct headerToken_s * Header
Definition: rpmtypes.h:24
rpmteDependsOn
rpmte rpmteDependsOn(rpmte te)
rpmteSetParent
rpmte rpmteSetParent(rpmte te, rpmte pte)
rpmteN
const char * rpmteN(rpmte te)
rpmTagVal
rpm_tag_t rpmTagVal
Definition: rpmtypes.h:30
rpmteColor
rpm_color_t rpmteColor(rpmte te)
rpmteSetDBInstance
void rpmteSetDBInstance(rpmte te, unsigned int instance)
rpmteHeader
Header rpmteHeader(rpmte te)
rpmteType
rpmElementType rpmteType(rpmte te)