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)
} 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);
rpmfi rpmteFI(rpmte te);
ARGV_const_t rpmteCollections(rpmte te);
int rpmteHasCollection(rpmte te, const char * collname);
#ifdef __cplusplus
}
#endif
#endif /* H_RPMTE */