rpm: rpmte.h Source File

rpm 4.11.1-rc1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

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 } rpmElementType;
23
24 typedef rpmFlags rpmElementTypes;
25
31 Header rpmteHeader(rpmte te);
32
39 Header rpmteSetHeader(rpmte te, Header h);
40
46 rpmElementType rpmteType(rpmte te);
47
53 const char * rpmteN(rpmte te);
54
60 const char * rpmteE(rpmte te);
61
67 const char * rpmteV(rpmte te);
68
74 const char * rpmteR(rpmte te);
75
81 const char * rpmteA(rpmte te);
82
88 const char * rpmteO(rpmte te);
89
95 int rpmteIsSource(rpmte te);
96
102 rpm_color_t rpmteColor(rpmte te);
103
110 rpm_color_t rpmteSetColor(rpmte te, rpm_color_t color);
111
117 unsigned int rpmteDBInstance(rpmte te);
118
125 void rpmteSetDBInstance(rpmte te, unsigned int instance);
126
133 rpm_loff_t rpmtePkgFileSize(rpmte te);
134
140 rpmte rpmteParent(rpmte te);
141
148 rpmte rpmteSetParent(rpmte te, rpmte pte);
149
155 rpmps rpmteProblems(rpmte te);
156
161 void rpmteCleanProblems(rpmte te);
162
167 void rpmteCleanDS(rpmte te);
168
174 void rpmteSetDependsOn(rpmte te, rpmte depends);
175
181 rpmte rpmteDependsOn(rpmte te);
182
188 int rpmteDBOffset(rpmte te);
189
195 const char * rpmteEVR(rpmte te);
196
202 const char * rpmteNEVR(rpmte te);
203
209 const char * rpmteNEVRA(rpmte te);
210
216 fnpyKey rpmteKey(rpmte te);
217
225 int rpmteFailed(rpmte te);
226
233 rpmds rpmteDS(rpmte te, rpmTagVal tag);
234
240 rpmfi rpmteFI(rpmte te);
241
247 ARGV_const_t rpmteCollections(rpmte te);
248
255 int rpmteHasCollection(rpmte te, const char * collname);
256
257
258 #ifdef __cplusplus
259 }
260 #endif
261
262 #endif /* H_RPMTE */