rpm 4.15.1

rpmfi.h
Go to the documentation of this file.
1 #ifndef H_RPMFI
2 #define H_RPMFI
3
9 #include <rpm/rpmtypes.h>
10 #include <rpm/rpmfiles.h>
11 #include <rpm/rpmarchive.h>
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16
22 rpmfi rpmfiLink (rpmfi fi);
23
29 rpm_count_t rpmfiFC(rpmfi fi);
30
36 int rpmfiFX(rpmfi fi);
37
44 int rpmfiSetFX(rpmfi fi, int fx);
45
51 rpm_count_t rpmfiDC(rpmfi fi);
52
58 int rpmfiDX(rpmfi fi);
59
66 int rpmfiSetDX(rpmfi fi, int dx);
67
73 const char * rpmfiBN(rpmfi fi);
74
80 const char * rpmfiDN(rpmfi fi);
81
87 const char * rpmfiFN(rpmfi fi);
88
97 int rpmfiFindFN(rpmfi fi, const char * fn);
98
104 const char * rpmfiOBN(rpmfi fi);
105
111 const char * rpmfiODN(rpmfi fi);
112
118 const char * rpmfiOFN(rpmfi fi);
119
128 int rpmfiFindOFN(rpmfi fi, const char * fn);
129
135 rpmfileAttrs rpmfiFFlags(rpmfi fi);
136
142 rpmVerifyAttrs rpmfiVFlags(rpmfi fi);
143
149 rpm_mode_t rpmfiFMode(rpmfi fi);
150
156 rpmfileState rpmfiFState(rpmfi fi);
157
163 int rpmfiDigestAlgo(rpmfi fi);
164
172 const unsigned char * rpmfiFDigest(rpmfi fi, int *algo, size_t *diglen);
173
183 char * rpmfiFDigestHex(rpmfi fi, int *algo);
184
191 const unsigned char * rpmfiFSignature(rpmfi fi, size_t *siglen);
192
198 const char * rpmfiFLink(rpmfi fi);
199
205 rpm_loff_t rpmfiFSize(rpmfi fi);
206
212 rpm_rdev_t rpmfiFRdev(rpmfi fi);
213
219 rpm_ino_t rpmfiFInode(rpmfi fi);
220
226 rpm_color_t rpmfiColor(rpmfi fi);
227
233 rpm_color_t rpmfiFColor(rpmfi fi);
234
240 const char * rpmfiFClass(rpmfi fi);
241
248 uint32_t rpmfiFDepends(rpmfi fi,
249 const uint32_t ** fddictp);
250
256 uint32_t rpmfiFNlink(rpmfi fi);
257
258
266 uint32_t rpmfiFLinks(rpmfi fi, const int ** files);
267
273 rpm_time_t rpmfiFMtime(rpmfi fi);
274
280 const char * rpmfiFUser(rpmfi fi);
281
287 const char * rpmfiFGroup(rpmfi fi);
288
296 const char * rpmfiFCaps(rpmfi fi);
297
303 const char * rpmfiFLangs(rpmfi fi);
304
311 int rpmfiStat(rpmfi fi, int flags, struct stat *sb);
312
318 int rpmfiNext(rpmfi fi);
319
326 rpmfi rpmfiInit(rpmfi fi, int fx);
327
333 int rpmfiNextD(rpmfi fi);
334
341 rpmfi rpmfiInitD(rpmfi fi, int dx);
342
348 rpmfi rpmfiFree(rpmfi fi);
349
358 rpmfi rpmfiNewPool(rpmstrPool pool, Header h, rpmTagVal tagN, rpmfiFlags flags);
359
368 rpmfi rpmfiNew(const rpmts ts, Header h, rpmTagVal tagN, rpmfiFlags flags);
369
375 rpmFileTypes rpmfiWhatis(rpm_mode_t mode);
376
383 int rpmfiCompare(const rpmfi afi, const rpmfi bfi);
384
391 rpmVerifyAttrs rpmfiVerify(rpmfi fi, rpmVerifyAttrs omitMask);
392
393 #ifdef __cplusplus
394 }
395 #endif
396
397 #endif /* H_RPMDS */
rpmfiInitD
rpmfi rpmfiInitD(rpmfi fi, int dx)
rpmts
struct rpmts_s * rpmts
Definition: rpmtypes.h:63
rpm_count_t
uint32_t rpm_count_t
Definition: rpmtypes.h:29
rpmfiOBN
const char * rpmfiOBN(rpmfi fi)
rpmfiNextD
int rpmfiNextD(rpmfi fi)
rpmfiFMtime
rpm_time_t rpmfiFMtime(rpmfi fi)
rpmfiFC
rpm_count_t rpmfiFC(rpmfi fi)
rpmfiFClass
const char * rpmfiFClass(rpmfi fi)
rpmfiFindFN
int rpmfiFindFN(rpmfi fi, const char *fn)
rpmfiFLinks
uint32_t rpmfiFLinks(rpmfi fi, const int **files)
rpmFileTypes
enum rpmFileTypes_e rpmFileTypes
rpmfiColor
rpm_color_t rpmfiColor(rpmfi fi)
rpmfiDC
rpm_count_t rpmfiDC(rpmfi fi)
rpmstrPool
struct rpmstrPool_s * rpmstrPool
Definition: rpmtypes.h:83
rpmfiFX
int rpmfiFX(rpmfi fi)
rpmfiFInode
rpm_ino_t rpmfiFInode(rpmfi fi)
rpmfiFFlags
rpmfileAttrs rpmfiFFlags(rpmfi fi)
rpmfiNewPool
rpmfi rpmfiNewPool(rpmstrPool pool, Header h, rpmTagVal tagN, rpmfiFlags flags)
rpm_mode_t
uint16_t rpm_mode_t
Definition: rpmtypes.h:53
rpmfiWhatis
rpmFileTypes rpmfiWhatis(rpm_mode_t mode)
rpmfiFLangs
const char * rpmfiFLangs(rpmfi fi)
rpmfiVerify
rpmVerifyAttrs rpmfiVerify(rpmfi fi, rpmVerifyAttrs omitMask)
rpmfiVFlags
rpmVerifyAttrs rpmfiVFlags(rpmfi fi)
rpmfiFree
rpmfi rpmfiFree(rpmfi fi)
rpmfileState
enum rpmfileState_e rpmfileState
File States (when installed).
rpmVerifyAttrs
rpmFlags rpmVerifyAttrs
Definition: rpmfiles.h:95
rpmfiNew
rpmfi rpmfiNew(const rpmts ts, Header h, rpmTagVal tagN, rpmfiFlags flags)
rpmfiDN
const char * rpmfiDN(rpmfi fi)
rpmfiBN
const char * rpmfiBN(rpmfi fi)
rpmfiFRdev
rpm_rdev_t rpmfiFRdev(rpmfi fi)
rpmfiLink
rpmfi rpmfiLink(rpmfi fi)
rpmfiOFN
const char * rpmfiOFN(rpmfi fi)
rpmfiFDepends
uint32_t rpmfiFDepends(rpmfi fi, const uint32_t **fddictp)
rpmfiFN
const char * rpmfiFN(rpmfi fi)
rpmfiDigestAlgo
int rpmfiDigestAlgo(rpmfi fi)
rpm_ino_t
uint32_t rpm_ino_t
Definition: rpmtypes.h:56
rpmfiFGroup
const char * rpmfiFGroup(rpmfi fi)
rpmfiInit
rpmfi rpmfiInit(rpmfi fi, int fx)
rpmfiFlags
rpmFlags rpmfiFlags
Definition: rpmfiles.h:155
rpmfiFCaps
const char * rpmfiFCaps(rpmfi fi)
rpmfiFDigest
const unsigned char * rpmfiFDigest(rpmfi fi, int *algo, size_t *diglen)
rpm_time_t
uint32_t rpm_time_t
Definition: rpmtypes.h:52
rpm_loff_t
uint64_t rpm_loff_t
Definition: rpmtypes.h:51
rpmfiFindOFN
int rpmfiFindOFN(rpmfi fi, const char *fn)
rpm_color_t
uint32_t rpm_color_t
Definition: rpmtypes.h:38
rpmfi
struct rpmfi_s * rpmfi
Definition: rpmtypes.h:66
rpmfiFSize
rpm_loff_t rpmfiFSize(rpmfi fi)
rpmfiFNlink
uint32_t rpmfiFNlink(rpmfi fi)
rpmfiCompare
int rpmfiCompare(const rpmfi afi, const rpmfi bfi)
rpmfiNext
int rpmfiNext(rpmfi fi)
rpmfiSetFX
int rpmfiSetFX(rpmfi fi, int fx)
rpmTagVal
rpm_tag_t rpmTagVal
Definition: rpmtypes.h:30
rpmfiFSignature
const unsigned char * rpmfiFSignature(rpmfi fi, size_t *siglen)
rpmfiDX
int rpmfiDX(rpmfi fi)
rpmfiODN
const char * rpmfiODN(rpmfi fi)
rpmfiFMode
rpm_mode_t rpmfiFMode(rpmfi fi)
rpmfiFState
rpmfileState rpmfiFState(rpmfi fi)
Header
struct headerToken_s * Header
Definition: rpmtypes.h:24
rpmfiSetDX
int rpmfiSetDX(rpmfi fi, int dx)
rpmfileAttrs
rpmFlags rpmfileAttrs
Definition: rpmfiles.h:65
rpmfiFUser
const char * rpmfiFUser(rpmfi fi)
rpmfiFDigestHex
char * rpmfiFDigestHex(rpmfi fi, int *algo)
rpmfiFColor
rpm_color_t rpmfiFColor(rpmfi fi)
rpm_rdev_t
uint16_t rpm_rdev_t
Definition: rpmtypes.h:54
rpmfiFLink
const char * rpmfiFLink(rpmfi fi)
rpmfiStat
int rpmfiStat(rpmfi fi, int flags, struct stat *sb)