rpm 4.19.0
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
80const char * rpmfiFN(rpmfi fi);
81
90int rpmfiFindFN(rpmfi fi, const char * fn);
91
97const char * rpmfiOBN(rpmfi fi);
98
104const char * rpmfiODN(rpmfi fi);
105
111const char * rpmfiOFN(rpmfi fi);
112
121int rpmfiFindOFN(rpmfi fi, const char * fn);
122
128rpmfileAttrs rpmfiFFlags(rpmfi fi);
129
135rpmVerifyAttrs rpmfiVFlags(rpmfi fi);
136
142rpm_mode_t rpmfiFMode(rpmfi fi);
143
150
156int rpmfiDigestAlgo(rpmfi fi);
157
165const unsigned char * rpmfiFDigest(rpmfi fi, int *algo, size_t *diglen);
166
176char * rpmfiFDigestHex(rpmfi fi, int *algo);
177
184const unsigned char * rpmfiFSignature(rpmfi fi, size_t *siglen);
185
193const unsigned char * rpmfiVSignature(rpmfi fi, size_t *siglen, uint16_t *algo);
194
200const char * rpmfiFLink(rpmfi fi);
201
207rpm_loff_t rpmfiFSize(rpmfi fi);
208
214rpm_rdev_t rpmfiFRdev(rpmfi fi);
215
221rpm_ino_t rpmfiFInode(rpmfi fi);
222
228rpm_color_t rpmfiColor(rpmfi fi);
229
235rpm_color_t rpmfiFColor(rpmfi fi);
236
242const char * rpmfiFClass(rpmfi fi);
243
250uint32_t rpmfiFDepends(rpmfi fi,
251 const uint32_t ** fddictp);
252
258uint32_t rpmfiFNlink(rpmfi fi);
259
260
268uint32_t rpmfiFLinks(rpmfi fi, const int ** files);
269
275rpm_time_t rpmfiFMtime(rpmfi fi);
276
282const char * rpmfiFUser(rpmfi fi);
283
289const char * rpmfiFGroup(rpmfi fi);
290
298const char * rpmfiFCaps(rpmfi fi);
299
305const char * rpmfiFLangs(rpmfi fi);
306
313int rpmfiStat(rpmfi fi, int flags, struct stat *sb);
314
320int rpmfiNext(rpmfi fi);
321
328rpmfi rpmfiInit(rpmfi fi, int fx);
329
335rpmfi rpmfiFree(rpmfi fi);
336
345rpmfi rpmfiNewPool(rpmstrPool pool, Header h, rpmTagVal tagN, rpmfiFlags flags);
346
355rpmfi rpmfiNew(const rpmts ts, Header h, rpmTagVal tagN, rpmfiFlags flags);
356
362rpmFileTypes rpmfiWhatis(rpm_mode_t mode);
363
370int rpmfiCompare(const rpmfi afi, const rpmfi bfi);
371
378rpmVerifyAttrs rpmfiVerify(rpmfi fi, rpmVerifyAttrs omitMask);
379
380#ifdef __cplusplus
381}
382#endif
383
384#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