rpm: /home/mdomonko/code/rpm/stable/include/rpm/rpmfi.h Source File

rpm 4.19.1.1 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
37 int rpmfiFX(rpmfi fi);
38
45 int rpmfiSetFX(rpmfi fi, int fx);
46
52rpm_count_t rpmfiDC(rpmfi fi);
53
59 int rpmfiDX(rpmfi fi);
60
66 const char * rpmfiBN(rpmfi fi);
67
73 const char * rpmfiDN(rpmfi fi);
74
81 const char * rpmfiFN(rpmfi fi);
82
91 int rpmfiFindFN(rpmfi fi, const char * fn);
92
98 const char * rpmfiOBN(rpmfi fi);
99
105 const char * rpmfiODN(rpmfi fi);
106
113 const char * rpmfiOFN(rpmfi fi);
114
123 int rpmfiFindOFN(rpmfi fi, const char * fn);
124
130rpmfileAttrs rpmfiFFlags(rpmfi fi);
131
137rpmVerifyAttrs rpmfiVFlags(rpmfi fi);
138
144rpm_mode_t rpmfiFMode(rpmfi fi);
145
151 rpmfileState rpmfiFState(rpmfi fi);
152
158 int rpmfiDigestAlgo(rpmfi fi);
159
167 const unsigned char * rpmfiFDigest(rpmfi fi, int *algo, size_t *diglen);
168
178 char * rpmfiFDigestHex(rpmfi fi, int *algo);
179
186 const unsigned char * rpmfiFSignature(rpmfi fi, size_t *siglen);
187
195 const unsigned char * rpmfiVSignature(rpmfi fi, size_t *siglen, uint16_t *algo);
196
202 const 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
244 const 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
284 const char * rpmfiFUser(rpmfi fi);
285
291 const char * rpmfiFGroup(rpmfi fi);
292
300 const char * rpmfiFCaps(rpmfi fi);
301
307 const char * rpmfiFLangs(rpmfi fi);
308
315 int rpmfiStat(rpmfi fi, int flags, struct stat *sb);
316
322 int 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
364 rpmFileTypes rpmfiWhatis(rpm_mode_t mode);
365
372 int 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 */
rpmfiFNlink
uint32_t rpmfiFNlink(rpmfi fi)
rpmfiWhatis
rpmFileTypes rpmfiWhatis(rpm_mode_t mode)
rpmfiFMtime
rpm_time_t rpmfiFMtime(rpmfi fi)
rpmfiFLink
const char * rpmfiFLink(rpmfi fi)
rpmfiFindFN
int rpmfiFindFN(rpmfi fi, const char *fn)
rpmfiNew
rpmfi rpmfiNew(const rpmts ts, Header h, rpmTagVal tagN, rpmfiFlags flags)
rpmfiLink
rpmfi rpmfiLink(rpmfi fi)
rpmfiDN
const char * rpmfiDN(rpmfi fi)
rpmfiFX
int rpmfiFX(rpmfi fi)
rpmfiDC
rpm_count_t rpmfiDC(rpmfi fi)
rpmfiDX
int rpmfiDX(rpmfi fi)
rpmfiFMode
rpm_mode_t rpmfiFMode(rpmfi fi)
rpmfiFState
rpmfileState rpmfiFState(rpmfi fi)
rpmfiFCaps
const char * rpmfiFCaps(rpmfi fi)
rpmfiFC
rpm_count_t rpmfiFC(rpmfi fi)
rpmfiODN
const char * rpmfiODN(rpmfi fi)
rpmfiNewPool
rpmfi rpmfiNewPool(rpmstrPool pool, Header h, rpmTagVal tagN, rpmfiFlags flags)
rpmfiCompare
int rpmfiCompare(const rpmfi afi, const rpmfi bfi)
rpmfiColor
rpm_color_t rpmfiColor(rpmfi fi)
rpmfiFLinks
uint32_t rpmfiFLinks(rpmfi fi, const int **files)
rpmfiVFlags
rpmVerifyAttrs rpmfiVFlags(rpmfi fi)
rpmfiFRdev
rpm_rdev_t rpmfiFRdev(rpmfi fi)
rpmfiFDigest
const unsigned char * rpmfiFDigest(rpmfi fi, int *algo, size_t *diglen)
rpmfiFClass
const char * rpmfiFClass(rpmfi fi)
rpmfiOFN
const char * rpmfiOFN(rpmfi fi)
rpmfiFDigestHex
char * rpmfiFDigestHex(rpmfi fi, int *algo)
rpmfiFindOFN
int rpmfiFindOFN(rpmfi fi, const char *fn)
rpmfiSetFX
int rpmfiSetFX(rpmfi fi, int fx)
rpmfiFLangs
const char * rpmfiFLangs(rpmfi fi)
rpmfiFSize
rpm_loff_t rpmfiFSize(rpmfi fi)
rpmfiFree
rpmfi rpmfiFree(rpmfi fi)
rpmfiFGroup
const char * rpmfiFGroup(rpmfi fi)
rpmfiVSignature
const unsigned char * rpmfiVSignature(rpmfi fi, size_t *siglen, uint16_t *algo)
rpmfiInit
rpmfi rpmfiInit(rpmfi fi, int fx)
rpmfiFDepends
uint32_t rpmfiFDepends(rpmfi fi, const uint32_t **fddictp)
rpmfiFUser
const char * rpmfiFUser(rpmfi fi)
rpmfiFSignature
const unsigned char * rpmfiFSignature(rpmfi fi, size_t *siglen)
rpmfiFFlags
rpmfileAttrs rpmfiFFlags(rpmfi fi)
rpmfiVerify
rpmVerifyAttrs rpmfiVerify(rpmfi fi, rpmVerifyAttrs omitMask)
rpmfiOBN
const char * rpmfiOBN(rpmfi fi)
rpmfiStat
int rpmfiStat(rpmfi fi, int flags, struct stat *sb)
rpmfiFInode
rpm_ino_t rpmfiFInode(rpmfi fi)
rpmfiFColor
rpm_color_t rpmfiFColor(rpmfi fi)
rpmfiFN
const char * rpmfiFN(rpmfi fi)
rpmfiNext
int rpmfiNext(rpmfi fi)
rpmfiDigestAlgo
int rpmfiDigestAlgo(rpmfi fi)
rpmfiBN
const char * rpmfiBN(rpmfi fi)
rpmFileTypes
enum rpmFileTypes_e rpmFileTypes
rpmts
struct rpmts_s * rpmts
Definition rpmtypes.h:63
Header
struct headerToken_s * Header
Definition rpmtypes.h:24
rpmarchive.h
rpmfiles.h
rpmfileState
enum rpmfileState_e rpmfileState
rpmtypes.h
rpmutil.h