rpm 4.20.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
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 TR_RESTORED = (1 << 3),
24} rpmElementType;
25
26 typedef rpmFlags rpmElementTypes;
27
33 Header rpmteHeader(rpmte te);
34
41 Header rpmteSetHeader(rpmte te, Header h);
42
48 rpmElementType rpmteType(rpmte te);
49
55 const char * rpmteN(rpmte te);
56
62 const char * rpmteE(rpmte te);
63
69 const char * rpmteV(rpmte te);
70
76 const char * rpmteR(rpmte te);
77
83 const char * rpmteA(rpmte te);
84
90 const char * rpmteO(rpmte te);
91
97 int rpmteIsSource(rpmte te);
98
104rpm_color_t rpmteColor(rpmte te);
105
112rpm_color_t rpmteSetColor(rpmte te, rpm_color_t color);
113
119 unsigned int rpmteDBInstance(rpmte te);
120
126 void 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
162 void rpmteCleanProblems(rpmte te);
163
168 void rpmteCleanDS(rpmte te);
169
175 void rpmteSetDependsOn(rpmte te, rpmte depends);
176
182rpmte 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
217fnpyKey rpmteKey(rpmte te);
218
224 void rpmteSetUserdata(rpmte te, void *data);
225
231 void *rpmteUserdata(rpmte te);
232
240 int rpmteFailed(rpmte te);
241
248rpmds rpmteDS(rpmte te, rpmTagVal tag);
249
255rpmfiles rpmteFiles(rpmte te);
256
265 int rpmteVerified(rpmte te);
266
267#ifdef __cplusplus
268}
269#endif
270
271#endif /* H_RPMTE */
argv.h
rpmteSetDependsOn
void rpmteSetDependsOn(rpmte te, rpmte depends)
rpmteDS
rpmds rpmteDS(rpmte te, rpmTagVal tag)
rpmteV
const char * rpmteV(rpmte te)
rpmteSetParent
rpmte rpmteSetParent(rpmte te, rpmte pte)
rpmteCleanDS
void rpmteCleanDS(rpmte te)
rpmteHeader
Header rpmteHeader(rpmte te)
rpmteDependsOn
rpmte rpmteDependsOn(rpmte te)
rpmteType
rpmElementType rpmteType(rpmte te)
rpmteFiles
rpmfiles rpmteFiles(rpmte te)
rpmElementType
enum rpmElementType_e rpmElementType
rpmteR
const char * rpmteR(rpmte te)
rpmteParent
rpmte rpmteParent(rpmte te)
rpmteCleanProblems
void rpmteCleanProblems(rpmte te)
rpmteN
const char * rpmteN(rpmte te)
rpmteColor
rpm_color_t rpmteColor(rpmte te)
rpmteA
const char * rpmteA(rpmte te)
rpmteSetColor
rpm_color_t rpmteSetColor(rpmte te, rpm_color_t color)
rpmtePkgFileSize
rpm_loff_t rpmtePkgFileSize(rpmte te)
rpmteEVR
const char * rpmteEVR(rpmte te)
rpmteProblems
rpmps rpmteProblems(rpmte te)
rpmteFailed
int rpmteFailed(rpmte te)
rpmteUserdata
void * rpmteUserdata(rpmte te)
rpmteSetDBInstance
void rpmteSetDBInstance(rpmte te, unsigned int instance)
rpmElementType_e
rpmElementType_e
Definition rpmte.h:19
rpmteNEVRA
const char * rpmteNEVRA(rpmte te)
rpmteDBOffset
int rpmteDBOffset(rpmte te)
rpmteIsSource
int rpmteIsSource(rpmte te)
rpmteDBInstance
unsigned int rpmteDBInstance(rpmte te)
rpmteNEVR
const char * rpmteNEVR(rpmte te)
rpmteO
const char * rpmteO(rpmte te)
rpmteKey
fnpyKey rpmteKey(rpmte te)
rpmteVerified
int rpmteVerified(rpmte te)
rpmteSetUserdata
void rpmteSetUserdata(rpmte te, void *data)
rpmteE
const char * rpmteE(rpmte te)
rpmteSetHeader
Header rpmteSetHeader(rpmte te, Header h)
TR_ADDED
@ TR_ADDED
Definition rpmte.h:20
TR_RESTORED
@ TR_RESTORED
Definition rpmte.h:23
TR_REMOVED
@ TR_REMOVED
Definition rpmte.h:21
TR_RPMDB
@ TR_RPMDB
Definition rpmte.h:22
Header
struct headerToken_s * Header
Definition rpmtypes.h:24
rpmtypes.h