rpmfi.h
Go to the documentation of this file.
#ifndef H_RPMFI
#define H_RPMFI
#include <rpm/rpmtypes.h>
#include <rpm/rpmfiles.h>
#include <rpm/rpmarchive.h>
#ifdef __cplusplus
extern "C" {
#endif
rpmfi rpmfiLink (rpmfi fi);
rpm_count_t rpmfiFC(rpmfi fi);
int rpmfiFX(rpmfi fi);
int rpmfiSetFX(rpmfi fi, int fx);
rpm_count_t rpmfiDC(rpmfi fi);
int rpmfiDX(rpmfi fi);
int rpmfiSetDX(rpmfi fi, int dx);
const char * rpmfiBN(rpmfi fi);
const char * rpmfiDN(rpmfi fi);
const char * rpmfiFN(rpmfi fi);
int rpmfiFindFN(rpmfi fi, const char * fn);
const char * rpmfiOBN(rpmfi fi);
const char * rpmfiODN(rpmfi fi);
const char * rpmfiOFN(rpmfi fi);
int rpmfiFindOFN(rpmfi fi, const char * fn);
rpmfileAttrs rpmfiFFlags(rpmfi fi);
rpmVerifyAttrs rpmfiVFlags(rpmfi fi);
rpm_mode_t rpmfiFMode(rpmfi fi);
rpmfileState rpmfiFState(rpmfi fi);
int rpmfiDigestAlgo(rpmfi fi);
const unsigned char * rpmfiFDigest(rpmfi fi, int *algo, size_t *diglen);
char * rpmfiFDigestHex(rpmfi fi, int *algo);
const unsigned char * rpmfiFSignature(rpmfi fi, size_t *siglen);
const char * rpmfiFLink(rpmfi fi);
rpm_loff_t rpmfiFSize(rpmfi fi);
rpm_rdev_t rpmfiFRdev(rpmfi fi);
rpm_ino_t rpmfiFInode(rpmfi fi);
rpm_color_t rpmfiColor(rpmfi fi);
rpm_color_t rpmfiFColor(rpmfi fi);
const char * rpmfiFClass(rpmfi fi);
uint32_t rpmfiFDepends(rpmfi fi,
const uint32_t ** fddictp);
uint32_t rpmfiFNlink(rpmfi fi);
uint32_t rpmfiFLinks(rpmfi fi, const int ** files);
rpm_time_t rpmfiFMtime(rpmfi fi);
const char * rpmfiFUser(rpmfi fi);
const char * rpmfiFGroup(rpmfi fi);
const char * rpmfiFCaps(rpmfi fi);
const char * rpmfiFLangs(rpmfi fi);
int rpmfiStat(rpmfi fi, int flags, struct stat *sb);
int rpmfiNext(rpmfi fi);
rpmfi rpmfiInit(rpmfi fi, int fx);
int rpmfiNextD(rpmfi fi);
rpmfi rpmfiInitD(rpmfi fi, int dx);
rpmfi rpmfiFree(rpmfi fi);
rpmfi rpmfiNewPool(rpmstrPool pool, Header h, rpmTagVal tagN, rpmfiFlags flags);
rpmfi rpmfiNew(const rpmts ts, Header h, rpmTagVal tagN, rpmfiFlags flags);
rpmFileTypes rpmfiWhatis(rpm_mode_t mode);
int rpmfiCompare(const rpmfi afi, const rpmfi bfi);
rpmVerifyAttrs rpmfiVerify(rpmfi fi, rpmVerifyAttrs omitMask);
#ifdef __cplusplus
}
#endif
#endif /* H_RPMDS */
rpmfiInitD
rpmfi rpmfiInitD(rpmfi fi, int dx)
rpmts
struct rpmts_s * rpmts
Definition: rpmtypes.h:63
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)
rpm_count_t
uint32_t rpm_count_t
Definition: rpmtypes.h:29
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:84
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)
rpm_color_t
uint32_t rpm_color_t
Definition: rpmtypes.h:38
rpmfiFree
rpmfi rpmfiFree(rpmfi fi)
rpmfi
struct rpmfi_s * rpmfi
Definition: rpmtypes.h:66
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)
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)
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)
rpmTagVal
rpm_tag_t rpmTagVal
Definition: rpmtypes.h:30
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)