rpm 4.19.0
The RPM Package Manager
Loading...
Searching...
No Matches
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
13extern "C" {
14#endif
15
19typedef enum rpmElementType_e {
20 TR_ADDED = (1 << 0),
21 TR_REMOVED = (1 << 1),
22 TR_RPMDB = (1 << 2),
23 TR_RESTORED = (1 << 3),
25
26typedef rpmFlags rpmElementTypes;
27
34
42
49
55const char * rpmteN(rpmte te);
56
62const char * rpmteE(rpmte te);
63
69const char * rpmteV(rpmte te);
70
76const char * rpmteR(rpmte te);
77
83const char * rpmteA(rpmte te);
84
90const char * rpmteO(rpmte te);
91
97int rpmteIsSource(rpmte te);
98
104rpm_color_t rpmteColor(rpmte te);
105
112rpm_color_t rpmteSetColor(rpmte te, rpm_color_t color);
113
119unsigned int rpmteDBInstance(rpmte te);
120
126void rpmteSetDBInstance(rpmte te, unsigned int instance);
127
134rpm_loff_t rpmtePkgFileSize(rpmte te);
135
141rpmte rpmteParent(rpmte te);
142
149rpmte rpmteSetParent(rpmte te, rpmte pte);
150
156rpmps rpmteProblems(rpmte te);
157
162void rpmteCleanProblems(rpmte te);
163
168void rpmteCleanDS(rpmte te);
169
175void rpmteSetDependsOn(rpmte te, rpmte depends);
176
182rpmte rpmteDependsOn(rpmte te);
183
189int rpmteDBOffset(rpmte te);
190
196const char * rpmteEVR(rpmte te);
197
203const char * rpmteNEVR(rpmte te);
204
210const char * rpmteNEVRA(rpmte te);
211
217fnpyKey rpmteKey(rpmte te);
218
224void rpmteSetUserdata(rpmte te, void *data);
225
231void *rpmteUserdata(rpmte te);
232
240int rpmteFailed(rpmte te);
241
248rpmds rpmteDS(rpmte te, rpmTagVal tag);
249
255rpmfiles rpmteFiles(rpmte te);
256
265int rpmteVerified(rpmte te);
266
267#ifdef __cplusplus
268}
269#endif
270
271#endif /* H_RPMTE */
void rpmteSetDependsOn(rpmte te, rpmte depends)
rpmds rpmteDS(rpmte te, rpmTagVal tag)
const char * rpmteV(rpmte te)
rpmte rpmteSetParent(rpmte te, rpmte pte)
void rpmteCleanDS(rpmte te)
Header rpmteHeader(rpmte te)
rpmte rpmteDependsOn(rpmte te)
rpmElementType rpmteType(rpmte te)
rpmfiles rpmteFiles(rpmte te)
enum rpmElementType_e rpmElementType
const char * rpmteR(rpmte te)
rpmte rpmteParent(rpmte te)
void rpmteCleanProblems(rpmte te)
const char * rpmteN(rpmte te)
rpm_color_t rpmteColor(rpmte te)
const char * rpmteA(rpmte te)
rpm_color_t rpmteSetColor(rpmte te, rpm_color_t color)
rpm_loff_t rpmtePkgFileSize(rpmte te)
const char * rpmteEVR(rpmte te)
rpmps rpmteProblems(rpmte te)
int rpmteFailed(rpmte te)
void * rpmteUserdata(rpmte te)
void rpmteSetDBInstance(rpmte te, unsigned int instance)
rpmElementType_e
Definition: rpmte.h:19
const char * rpmteNEVRA(rpmte te)
int rpmteDBOffset(rpmte te)
int rpmteIsSource(rpmte te)
unsigned int rpmteDBInstance(rpmte te)
const char * rpmteNEVR(rpmte te)
const char * rpmteO(rpmte te)
fnpyKey rpmteKey(rpmte te)
int rpmteVerified(rpmte te)
void rpmteSetUserdata(rpmte te, void *data)
const char * rpmteE(rpmte te)
Header rpmteSetHeader(rpmte te, Header h)
@ TR_ADDED
Definition: rpmte.h:20
@ TR_RESTORED
Definition: rpmte.h:23
@ TR_REMOVED
Definition: rpmte.h:21
@ TR_RPMDB
Definition: rpmte.h:22
struct headerToken_s * Header
Definition: rpmtypes.h:24