rpm 4.15.1

rpmte.h
Go to the documentation of this file.
1 #ifndef H_RPMTE
2 #define H_RPMTE
3
9 #include <rpm/rpmtypes.h>
10 #include <rpm/argv.h>
11
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15
19 typedef enum rpmElementType_e {
20 TR_ADDED = (1 << 0),
21 TR_REMOVED = (1 << 1),
22 TR_RPMDB = (1 << 2),
23 } rpmElementType;
24
25 typedef rpmFlags rpmElementTypes;
26
32 Header rpmteHeader(rpmte te);
33
40 Header rpmteSetHeader(rpmte te, Header h);
41
47 rpmElementType rpmteType(rpmte te);
48
54 const char * rpmteN(rpmte te);
55
61 const char * rpmteE(rpmte te);
62
68 const char * rpmteV(rpmte te);
69
75 const char * rpmteR(rpmte te);
76
82 const char * rpmteA(rpmte te);
83
89 const char * rpmteO(rpmte te);
90
96 int rpmteIsSource(rpmte te);
97
103 rpm_color_t rpmteColor(rpmte te);
104
111 rpm_color_t rpmteSetColor(rpmte te, rpm_color_t color);
112
118 unsigned int rpmteDBInstance(rpmte te);
119
126 void rpmteSetDBInstance(rpmte te, unsigned int instance);
127
134 rpm_loff_t rpmtePkgFileSize(rpmte te);
135
141 rpmte rpmteParent(rpmte te);
142
149 rpmte rpmteSetParent(rpmte te, rpmte pte);
150
156 rpmps rpmteProblems(rpmte te);
157
162 void rpmteCleanProblems(rpmte te);
163
168 void rpmteCleanDS(rpmte te);
169
175 void rpmteSetDependsOn(rpmte te, rpmte depends);
176
182 rpmte rpmteDependsOn(rpmte te);
183
189 int rpmteDBOffset(rpmte te);
190
196 const char * rpmteEVR(rpmte te);
197
203 const char * rpmteNEVR(rpmte te);
204
210 const char * rpmteNEVRA(rpmte te);
211
217 fnpyKey rpmteKey(rpmte te);
218
226 int rpmteFailed(rpmte te);
227
234 rpmds rpmteDS(rpmte te, rpmTagVal tag);
235
241 rpmfiles rpmteFiles(rpmte te);
242
249 rpmfi rpmteFI(rpmte te);
250
259 int rpmteVerified(rpmte te);
260
261 #ifdef __cplusplus
262 }
263 #endif
264
265 #endif /* H_RPMTE */
rpmFlags
uint32_t rpmFlags
Definition: rpmtypes.h:42
rpmteFI
rpmfi rpmteFI(rpmte te)
rpmteKey
fnpyKey rpmteKey(rpmte te)
rpmteParent
rpmte rpmteParent(rpmte te)
rpmtePkgFileSize
rpm_loff_t rpmtePkgFileSize(rpmte te)
rpmteA
const char * rpmteA(rpmte te)
rpmteProblems
rpmps rpmteProblems(rpmte te)
rpmfiles
struct rpmfiles_s * rpmfiles
Definition: rpmtypes.h:67
rpmElementType_e
rpmElementType_e
Definition: rpmte.h:19
rpmteCleanDS
void rpmteCleanDS(rpmte te)
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
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)
rpmps
struct rpmps_s * rpmps
Definition: rpmtypes.h:71
rpmteDBOffset
int rpmteDBOffset(rpmte te)
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
rpm_color_t
uint32_t rpm_color_t
Definition: rpmtypes.h:38
rpmte
struct rpmte_s * rpmte
Definition: rpmtypes.h:64
rpmfi
struct rpmfi_s * rpmfi
Definition: rpmtypes.h:66
rpmteNEVRA
const char * rpmteNEVRA(rpmte te)
rpmTagVal
rpm_tag_t rpmTagVal
Definition: rpmtypes.h:30
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)
rpmteColor
rpm_color_t rpmteColor(rpmte te)
rpmteSetDBInstance
void rpmteSetDBInstance(rpmte te, unsigned int instance)
fnpyKey
const typedef void * fnpyKey
Definition: rpmtypes.h:75
rpmteHeader
Header rpmteHeader(rpmte te)
rpmds
struct rpmds_s * rpmds
Definition: rpmtypes.h:65
rpmteType
rpmElementType rpmteType(rpmte te)