|
enum | rpmFileTypes_e {
PIPE = 1,
CDEV = 2,
XDIR = 4,
BDEV = 6,
REG = 8,
LINK = 10,
SOCK = 12
} |
| File types. More...
|
|
enum | rpmfileState_e {
RPMFILE_STATE_MISSING = -1,
RPMFILE_STATE_NORMAL = 0,
RPMFILE_STATE_REPLACED = 1,
RPMFILE_STATE_NOTINSTALLED = 2,
RPMFILE_STATE_NETSHARED = 3,
RPMFILE_STATE_WRONGCOLOR = 4
} |
| File States (when installed). More...
|
|
enum | rpmfileAttrs_e {
RPMFILE_NONE = 0,
RPMFILE_CONFIG = (1 << 0),
RPMFILE_DOC = (1 << 1),
RPMFILE_ICON = (1 << 2),
RPMFILE_MISSINGOK = (1 << 3),
RPMFILE_NOREPLACE = (1 << 4),
RPMFILE_SPECFILE = (1 << 5),
RPMFILE_GHOST = (1 << 6),
RPMFILE_LICENSE = (1 << 7),
RPMFILE_README = (1 << 8),
RPMFILE_PUBKEY = (1 << 11)
} |
| Exported File Attributes (ie RPMTAG_FILEFLAGS) More...
|
|
enum | rpmFileAction_e {
FA_UNKNOWN = 0,
FA_CREATE,
FA_COPYIN,
FA_COPYOUT,
FA_BACKUP,
FA_SAVE,
FA_SKIP,
FA_ALTNAME,
FA_ERASE,
FA_SKIPNSTATE,
FA_SKIPNETSHARED,
FA_SKIPCOLOR
} |
| File disposition(s) during package install/erase transaction. More...
|
|
enum | rpmfiFlags_e {
RPMFI_NOHEADER = 0,
RPMFI_KEEPHEADER = (1 << 0),
RPMFI_NOFILECLASS = (1 << 1),
RPMFI_NOFILEDEPS = (1 << 2),
RPMFI_NOFILELANGS = (1 << 3),
RPMFI_NOFILEUSER = (1 << 4),
RPMFI_NOFILEGROUP = (1 << 5),
RPMFI_NOFILEMODES = (1 << 6),
RPMFI_NOFILESIZES = (1 << 7),
RPMFI_NOFILECAPS = (1 << 8),
RPMFI_NOFILELINKTOS = (1 << 9),
RPMFI_NOFILEDIGESTS = (1 << 10),
RPMFI_NOFILEMTIMES = (1 << 11),
RPMFI_NOFILERDEVS = (1 << 12),
RPMFI_NOFILEINODES = (1 << 13),
RPMFI_NOFILESTATES = (1 << 14),
RPMFI_NOFILECOLORS = (1 << 15),
RPMFI_NOFILEVERIFYFLAGS = (1 << 16),
RPMFI_NOFILEFLAGS = (1 << 17)
} |
|
|
rpmfi | rpmfiLink (rpmfi fi) |
| Reference a file info set instance. More...
|
|
rpm_count_t | rpmfiFC (rpmfi fi) |
| Return file count from file info set. More...
|
|
int | rpmfiFX (rpmfi fi) |
| Return current file index from file info set. More...
|
|
int | rpmfiSetFX (rpmfi fi, int fx) |
| Set current file index in file info set. More...
|
|
rpm_count_t | rpmfiDC (rpmfi fi) |
| Return directory count from file info set. More...
|
|
int | rpmfiDX (rpmfi fi) |
| Return current directory index from file info set. More...
|
|
int | rpmfiSetDX (rpmfi fi, int dx) |
| Set current directory index in file info set. More...
|
|
const char * | rpmfiBN (rpmfi fi) |
| Return current base name from file info set. More...
|
|
const char * | rpmfiDN (rpmfi fi) |
| Return current directory name from file info set. More...
|
|
const char * | rpmfiFN (rpmfi fi) |
| Return current file name from file info set. More...
|
|
rpmfileAttrs | rpmfiFFlags (rpmfi fi) |
| Return current file flags from file info set. More...
|
|
rpmVerifyAttrs | rpmfiVFlags (rpmfi fi) |
| Return current file verify flags from file info set. More...
|
|
rpm_mode_t | rpmfiFMode (rpmfi fi) |
| Return current file mode from file info set. More...
|
|
rpmfileState | rpmfiFState (rpmfi fi) |
| Return current file state from file info set. More...
|
|
int | rpmfiDigestAlgo (rpmfi fi) |
| Return digest algorithm of a file info set. More...
|
|
const unsigned char * | rpmfiFDigest (rpmfi fi, int *algo, size_t *diglen) |
| Return current file (binary) digest of file info set. More...
|
|
char * | rpmfiFDigestHex (rpmfi fi, int *algo) |
| Return current file (hex) digest of file info set. More...
|
|
const unsigned char * | rpmfiMD5 (rpmfi fi) RPM_GNUC_DEPRECATED |
| Return current file (binary) md5 digest from file info set. More...
|
|
const char * | rpmfiFLink (rpmfi fi) |
| Return current file linkto (i.e. More...
|
|
rpm_loff_t | rpmfiFSize (rpmfi fi) |
| Return current file size from file info set. More...
|
|
rpm_rdev_t | rpmfiFRdev (rpmfi fi) |
| Return current file rdev from file info set. More...
|
|
rpm_ino_t | rpmfiFInode (rpmfi fi) |
| Return current file inode from file info set. More...
|
|
rpm_color_t | rpmfiColor (rpmfi fi) |
| Return union of all file color bits from file info set. More...
|
|
rpm_color_t | rpmfiFColor (rpmfi fi) |
| Return current file color bits from file info set. More...
|
|
const char * | rpmfiFClass (rpmfi fi) |
| Return current file class from file info set. More...
|
|
uint32_t | rpmfiFDepends (rpmfi fi, const uint32_t **fddictp) |
| Return current file depends dictionary from file info set. More...
|
|
uint32_t | rpmfiFNlink (rpmfi fi) |
| Return (calculated) current file nlink count from file info set. More...
|
|
rpm_time_t | rpmfiFMtime (rpmfi fi) |
| Return current file modify time from file info set. More...
|
|
const char * | rpmfiFUser (rpmfi fi) |
| Return current file owner from file info set. More...
|
|
const char * | rpmfiFGroup (rpmfi fi) |
| Return current file group from file info set. More...
|
|
const char * | rpmfiFCaps (rpmfi fi) |
| Return textual representation of current file capabilities from file info set. More...
|
|
const char * | rpmfiFLangs (rpmfi fi) |
| Return current file language(s) from file info set. More...
|
|
int | rpmfiNext (rpmfi fi) |
| Return next file iterator index. More...
|
|
rpmfi | rpmfiInit (rpmfi fi, int fx) |
| Initialize file iterator index. More...
|
|
int | rpmfiNextD (rpmfi fi) |
| Return next directory iterator index. More...
|
|
rpmfi | rpmfiInitD (rpmfi fi, int dx) |
| Initialize directory iterator index. More...
|
|
rpmfi | rpmfiFree (rpmfi fi) |
| Destroy a file info set. More...
|
|
rpmfi | rpmfiNewPool (rpmstrPool pool, Header h, rpmTagVal tagN, rpmfiFlags flags) |
| Create and load a file info set. More...
|
|
rpmfi | rpmfiNew (const rpmts ts, Header h, rpmTagVal tagN, rpmfiFlags flags) |
| Create and load a file info set. More...
|
|
rpmFileTypes | rpmfiWhatis (rpm_mode_t mode) |
| Return file type from mode_t. More...
|
|
int | rpmfiCompare (const rpmfi afi, const rpmfi bfi) |
| Return file info comparison. More...
|
|
rpmFileAction | rpmfiDecideFate (const rpmfi ofi, rpmfi nfi, int skipMissing) |
| Return file disposition. More...
|
|
int | rpmfiConfigConflict (const rpmfi fi) |
| Return whether file is conflicting config. More...
|
|
Structure(s) used for file info tag sets.
Definition in file rpmfi.h.