rpm 4.19.92
The RPM Package Manager
Loading...
Searching...
No Matches
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#include <rpm/rpmutil.h>
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
23rpmfi rpmfiLink (rpmfi fi);
24
30rpm_count_t rpmfiFC(rpmfi fi);
31
37int rpmfiFX(rpmfi fi);
38
45int rpmfiSetFX(rpmfi fi, int fx);
46
52rpm_count_t rpmfiDC(rpmfi fi);
53
59int rpmfiDX(rpmfi fi);
60
66const char * rpmfiBN(rpmfi fi);
67
73const char * rpmfiDN(rpmfi fi);
74
81const char * rpmfiFN(rpmfi fi);
82
91int rpmfiFindFN(rpmfi fi, const char * fn);
92
98const char * rpmfiOBN(rpmfi fi);
99
105const char * rpmfiODN(rpmfi fi);
106
113const char * rpmfiOFN(rpmfi fi);
114
123int rpmfiFindOFN(rpmfi fi, const char * fn);
124
130rpmfileAttrs rpmfiFFlags(rpmfi fi);
131
137rpmVerifyAttrs rpmfiVFlags(rpmfi fi);
138
144rpm_mode_t rpmfiFMode(rpmfi fi);
145
152
158int rpmfiDigestAlgo(rpmfi fi);
159
167const unsigned char * rpmfiFDigest(rpmfi fi, int *algo, size_t *diglen);
168
178char * rpmfiFDigestHex(rpmfi fi, int *algo);
179
186const unsigned char * rpmfiFSignature(rpmfi fi, size_t *siglen);
187
195const unsigned char * rpmfiVSignature(rpmfi fi, size_t *siglen, uint16_t *algo);
196
202const char * rpmfiFLink(rpmfi fi);
203
209rpm_loff_t rpmfiFSize(rpmfi fi);
210
216rpm_rdev_t rpmfiFRdev(rpmfi fi);
217
223rpm_ino_t rpmfiFInode(rpmfi fi);
224
230rpm_color_t rpmfiColor(rpmfi fi);
231
237rpm_color_t rpmfiFColor(rpmfi fi);
238
244const char * rpmfiFClass(rpmfi fi);
245
252uint32_t rpmfiFDepends(rpmfi fi,
253 const uint32_t ** fddictp);
254
260uint32_t rpmfiFNlink(rpmfi fi);
261
262
270uint32_t rpmfiFLinks(rpmfi fi, const int ** files);
271
277rpm_time_t rpmfiFMtime(rpmfi fi);
278
284const char * rpmfiFUser(rpmfi fi);
285
291const char * rpmfiFGroup(rpmfi fi);
292
300const char * rpmfiFCaps(rpmfi fi);
301
307const char * rpmfiFLangs(rpmfi fi);
308
315int rpmfiStat(rpmfi fi, int flags, struct stat *sb);
316
322int rpmfiNext(rpmfi fi);
323
330rpmfi rpmfiInit(rpmfi fi, int fx);
331
337rpmfi rpmfiFree(rpmfi fi);
338
347rpmfi rpmfiNewPool(rpmstrPool pool, Header h, rpmTagVal tagN, rpmfiFlags flags);
348
357rpmfi rpmfiNew(const rpmts ts, Header h, rpmTagVal tagN, rpmfiFlags flags);
358
364rpmFileTypes rpmfiWhatis(rpm_mode_t mode);
365
372int rpmfiCompare(const rpmfi afi, const rpmfi bfi);
373
380rpmVerifyAttrs rpmfiVerify(rpmfi fi, rpmVerifyAttrs omitMask);
381
382#ifdef __cplusplus
383}
384#endif
385
386#endif /* H_RPMDS */
uint32_t rpmfiFNlink(rpmfi fi)
rpmFileTypes rpmfiWhatis(rpm_mode_t mode)
rpm_time_t rpmfiFMtime(rpmfi fi)
const char * rpmfiFLink(rpmfi fi)
int rpmfiFindFN(rpmfi fi, const char *fn)
rpmfi rpmfiNew(const rpmts ts, Header h, rpmTagVal tagN, rpmfiFlags flags)
rpmfi rpmfiLink(rpmfi fi)
const char * rpmfiDN(rpmfi fi)
int rpmfiFX(rpmfi fi)
rpm_count_t rpmfiDC(rpmfi fi)
int rpmfiDX(rpmfi fi)
rpm_mode_t rpmfiFMode(rpmfi fi)
rpmfileState rpmfiFState(rpmfi fi)
const char * rpmfiFCaps(rpmfi fi)
rpm_count_t rpmfiFC(rpmfi fi)
const char * rpmfiODN(rpmfi fi)
rpmfi rpmfiNewPool(rpmstrPool pool, Header h, rpmTagVal tagN, rpmfiFlags flags)
int rpmfiCompare(const rpmfi afi, const rpmfi bfi)
rpm_color_t rpmfiColor(rpmfi fi)
uint32_t rpmfiFLinks(rpmfi fi, const int **files)
rpmVerifyAttrs rpmfiVFlags(rpmfi fi)
rpm_rdev_t rpmfiFRdev(rpmfi fi)
const unsigned char * rpmfiFDigest(rpmfi fi, int *algo, size_t *diglen)
const char * rpmfiFClass(rpmfi fi)
const char * rpmfiOFN(rpmfi fi)
char * rpmfiFDigestHex(rpmfi fi, int *algo)
int rpmfiFindOFN(rpmfi fi, const char *fn)
int rpmfiSetFX(rpmfi fi, int fx)
const char * rpmfiFLangs(rpmfi fi)
rpm_loff_t rpmfiFSize(rpmfi fi)
rpmfi rpmfiFree(rpmfi fi)
const char * rpmfiFGroup(rpmfi fi)
const unsigned char * rpmfiVSignature(rpmfi fi, size_t *siglen, uint16_t *algo)
rpmfi rpmfiInit(rpmfi fi, int fx)
uint32_t rpmfiFDepends(rpmfi fi, const uint32_t **fddictp)
const char * rpmfiFUser(rpmfi fi)
const unsigned char * rpmfiFSignature(rpmfi fi, size_t *siglen)
rpmfileAttrs rpmfiFFlags(rpmfi fi)
rpmVerifyAttrs rpmfiVerify(rpmfi fi, rpmVerifyAttrs omitMask)
const char * rpmfiOBN(rpmfi fi)
int rpmfiStat(rpmfi fi, int flags, struct stat *sb)
rpm_ino_t rpmfiFInode(rpmfi fi)
rpm_color_t rpmfiFColor(rpmfi fi)
const char * rpmfiFN(rpmfi fi)
int rpmfiNext(rpmfi fi)
int rpmfiDigestAlgo(rpmfi fi)
const char * rpmfiBN(rpmfi fi)
enum rpmFileTypes_e rpmFileTypes
struct rpmts_s * rpmts
Definition rpmtypes.h:63
struct headerToken_s * Header
Definition rpmtypes.h:24
enum rpmfileState_e rpmfileState