# transactionFileInfo_s Struct Reference

`#include <psm.h>`

## Data Fields

enum rpmTransactionType | type
fileAction | action
fileAction * | actions
fingerPrint_s * | fps
HGE_t | hge
HAE_t | hae
HME_t | hme
HRE_t | hre
HFD_t | hfd
Header | h
const char * | name
const char * | version
const char * | release
int_32 | epoch
uint_32 | flags
const uint_32 * | fflags
const uint_32 * | fsizes
const uint_32 * | fmtimes
const char ** | bnl
const char ** | dnl
int_32 * | dil
const char ** | obnl
const char ** | odnl
int_32 * | odil
const char ** | fmd5s
const char ** | flinks
uint_16 * | fmodes
uint_16 * | frdevs
char * | fstates
const char ** | fuser
const char ** | fgroup
const char ** | flangs
int | fc
int | dc
int | bnlmax
int | dnlmax
int | astriplen
int | striplen
unsigned int | archiveSize
mode_t | dperms
mode_t | fperms
const char ** | apath
int | mapflags
int * | fmapflags
uid_t | uid
uid_t * | fuids
gid_t | gid
gid_t * | fgids
int | magic
FSM_t | fsm
availablePackage * | ap
sharedFileInfo * | replaced
uint_32 * | replacedSizes
unsigned int | record

## Field Documentation

fileAction transactionFileInfo_s::action

| File disposition default. Definition at line 26 of file psm.h. Referenced by fsmMapPath(), loadFi(), mapInitIterator(), and psmStage().

fileAction* transactionFileInfo_s::actions

| File disposition(s) Definition at line 28 of file psm.h. Referenced by dnlInitIterator(), freeFi(), fsmMapPath(), handleInstInstalledFiles(), handleOverlappedFiles(), handleRmvdInstalledFiles(), loadFi(), mergeFiles(), psmStage(), rpmRunTransactions(), saveHardLink(), and skipFiles().

struct availablePackage* transactionFileInfo_s::ap

| Definition at line 100 of file psm.h. Referenced by fsmSetup(), fsmStage(), handleInstInstalledFiles(), handleOverlappedFiles(), psmStage(), rpmRunTransactions(), and writeFile().

const char** transactionFileInfo_s::apath

| Definition at line 83 of file psm.h. Referenced by freeFi(), mapFind(), psmStage(), and writeFile().

unsigned int transactionFileInfo_s::archiveSize

| Definition at line 79 of file psm.h. Referenced by fsmSetup(), fsmStage(), loadFi(), and psmStage().

int transactionFileInfo_s::astriplen

| Definition at line 77 of file psm.h. Referenced by fsmMapPath().

const char** transactionFileInfo_s::bnl

| Base name(s) (from header) Definition at line 49 of file psm.h. Referenced by dnlInitIterator(), freeFi(), fsmMapPath(), generateDepends(), handleInstInstalledFiles(), handleOverlappedFiles(), loadFi(), relocateFileList(), rpmRunTransactions(), skipFiles(), and writeFile().

int transactionFileInfo_s::bnlmax

| Length (in bytes) of longest base name. Definition at line 75 of file psm.h. Referenced by loadFi().

int transactionFileInfo_s::dc

| No. of directories. Definition at line 74 of file psm.h. Referenced by dnlCount(), dnlInitIterator(), dnlNextIterator(), loadFi(), relocateFileList(), and skipFiles().

int_32* transactionFileInfo_s::dil

| Directory indice(s) (from header) Definition at line 52 of file psm.h. Referenced by dnlInitIterator(), freeFi(), fsmMapPath(), generateDepends(), handleInstInstalledFiles(), handleOverlappedFiles(), loadFi(), relocateFileList(), rpmRunTransactions(), and skipFiles().

const char** transactionFileInfo_s::dnl

| Directory name(s) (from header) Definition at line 51 of file psm.h. Referenced by dnlInitIterator(), dnlNextIterator(), freeFi(), fsmMapPath(), generateDepends(), handleInstInstalledFiles(), handleOverlappedFiles(), loadFi(), relocateFileList(), rpmRunTransactions(), and skipFiles().

int transactionFileInfo_s::dnlmax

| Length (in bytes) of longest dir name. Definition at line 76 of file psm.h. Referenced by loadFi().

mode_t transactionFileInfo_s::dperms

| Directory perms (0755) if not mapped. Definition at line 80 of file psm.h. Referenced by fsmMapAttrs(), fsmMkdirs(), and loadFi().

int_32 transactionFileInfo_s::epoch

| Definition at line 43 of file psm.h. Referenced by loadFi().

int transactionFileInfo_s::fc

| No. of files. Definition at line 73 of file psm.h. Referenced by dnlInitIterator(), fsmMapAttrs(), fsmMapPath(), generateDepends(), handleOverlappedFiles(), loadFi(), mapFind(), mapInitIterator(), mapNextIterator(), markReplacedFiles(), psmStage(), relocateFileList(), rpmRunTransactions(), and skipFiles().

const uint_32* transactionFileInfo_s::fflags

| File flag(s) (from header) Definition at line 45 of file psm.h. Referenced by freeFi(), fsmMapPath(), handleInstInstalledFiles(), handleOverlappedFiles(), loadFi(), and skipFiles().

gid_t* transactionFileInfo_s::fgids

| File gid(s) Definition at line 92 of file psm.h. Referenced by freeFi(), fsmMapAttrs(), and psmStage().

const char** transactionFileInfo_s::fgroup

| File group(s) Definition at line 70 of file psm.h. Referenced by freeFi(), and psmStage().

uint_32 transactionFileInfo_s::flags

| File flag default. Definition at line 44 of file psm.h. Referenced by fsmMapPath(), and loadFi().

const char** transactionFileInfo_s::flangs

| File lang(s) Definition at line 72 of file psm.h. Referenced by freeFi(), loadFi(), and skipFiles().

const char** transactionFileInfo_s::flinks

| File link(s) (from header) Definition at line 61 of file psm.h. Referenced by freeFi(), handleInstInstalledFiles(), handleOverlappedFiles(), and loadFi().

int* transactionFileInfo_s::fmapflags

| Definition at line 86 of file psm.h. Referenced by freeFi(), fsmMapPath(), and generateDepends().

const char** transactionFileInfo_s::fmd5s

| File MD5 sum(s) (from header) Definition at line 59 of file psm.h. Referenced by freeFi(), fsmMapAttrs(), handleInstInstalledFiles(), handleOverlappedFiles(), and loadFi().

uint_16* transactionFileInfo_s::fmodes

| File mode(s) (from header) Definition at line 63 of file psm.h. Referenced by dnlInitIterator(), freeFi(), fsmMapAttrs(), fsmStage(), handleInstInstalledFiles(), handleOverlappedFiles(), loadFi(), psmStage(), and skipFiles().

const uint_32* transactionFileInfo_s::fmtimes

| File modification time(s) (from header) Definition at line 47 of file psm.h. Referenced by fsmMapAttrs(), fsmStage(), and loadFi().

mode_t transactionFileInfo_s::fperms

| File perms (0644) if not mapped. Definition at line 81 of file psm.h. Referenced by fsmMapAttrs(), and loadFi().

struct fingerPrint_s* transactionFileInfo_s::fps

| File fingerprint(s) Definition at line 30 of file psm.h. Referenced by handleOverlappedFiles(), and rpmRunTransactions().

uint_16* transactionFileInfo_s::frdevs

| File rdev(s) (from header) Definition at line 64 of file psm.h. Referenced by fsmMapAttrs(), and loadFi().

const uint_32* transactionFileInfo_s::fsizes

| File size(s) (from header) Definition at line 46 of file psm.h. Referenced by freeFi(), handleOverlappedFiles(), and loadFi().

FSM_t transactionFileInfo_s::fsm

| File state machine data. Definition at line 96 of file psm.h. Referenced by cpio_doio(), freeFi(), loadFi(), and psmStage().

char* transactionFileInfo_s::fstates

| File state(s) (from header) Definition at line 66 of file psm.h. Referenced by freeFi(), fsmMapPath(), handleOverlappedFiles(), loadFi(), and psmStage().

uid_t* transactionFileInfo_s::fuids

| File uid(s) Definition at line 89 of file psm.h. Referenced by freeFi(), fsmMapAttrs(), and psmStage().

const char** transactionFileInfo_s::fuser

| File owner(s) Definition at line 68 of file psm.h. Referenced by freeFi(), and psmStage().

gid_t transactionFileInfo_s::gid

| Definition at line 90 of file psm.h. Referenced by fsmMapAttrs(), and psmStage().

Header transactionFileInfo_s::h

| Package header Definition at line 36 of file psm.h. Referenced by freeFi(), fsmSetup(), fsmStage(), loadFi(), psmStage(), rpmRunTransactions(), runImmedTriggers(), runInstScript(), runTriggers(), and writeFile().

HAE_t transactionFileInfo_s::hae

| Vector to headerAddEntry() Definition at line 32 of file psm.h. Referenced by loadFi(), and relocateFileList().

HFD_t transactionFileInfo_s::hfd

| Vector to headerFreeData() Definition at line 35 of file psm.h. Referenced by freeFi(), handleInstInstalledFiles(), handleOneTrigger(), loadFi(), mergeFiles(), psmStage(), relocateFileList(), runImmedTriggers(), runInstScript(), and runScript().

HGE_t transactionFileInfo_s::hge

| Vector to headerGetEntry() Definition at line 31 of file psm.h. Referenced by handleInstInstalledFiles(), handleOneTrigger(), handleRmvdInstalledFiles(), loadFi(), markReplacedFiles(), mergeFiles(), psmStage(), relocateFileList(), rpmInstallLoadMacros(), runImmedTriggers(), runInstScript(), and runScript().

HME_t transactionFileInfo_s::hme

| Vector to headerModifyEntry() Definition at line 33 of file psm.h. Referenced by loadFi(), mergeFiles(), psmStage(), and relocateFileList().

HRE_t transactionFileInfo_s::hre

| Vector to headerRemoveEntry() Definition at line 34 of file psm.h. Referenced by loadFi().

int transactionFileInfo_s::magic

| Definition at line 93 of file psm.h. Referenced by rpmRunTransactions().

int transactionFileInfo_s::mapflags

| Definition at line 84 of file psm.h. Referenced by fsmMapPath(), loadFi(), and psmStage().

const char* transactionFileInfo_s::name

| Definition at line 38 of file psm.h. Referenced by freeFi(), loadFi(), psmStage(), and runTriggers().

const char** transactionFileInfo_s::obnl

| Original base name(s) (from header) Definition at line 54 of file psm.h. Referenced by freeFi().

int_32* transactionFileInfo_s::odil

| Original directory indice(s) (from header) Definition at line 58 of file psm.h.

const char** transactionFileInfo_s::odnl

| Original directory name(s) (from header) Definition at line 56 of file psm.h. Referenced by freeFi().

unsigned int transactionFileInfo_s::record

| Definition at line 107 of file psm.h. Referenced by psmStage(), and rpmRunTransactions().

const char* transactionFileInfo_s::release

| Definition at line 42 of file psm.h. Referenced by freeFi(), loadFi(), and psmStage().

struct sharedFileInfo* transactionFileInfo_s::replaced

| Definition at line 102 of file psm.h. Referenced by freeFi(), handleInstInstalledFiles(), and markReplacedFiles().

uint_32* transactionFileInfo_s::replacedSizes

| Definition at line 104 of file psm.h. Referenced by freeFi(), handleInstInstalledFiles(), handleOverlappedFiles(), and loadFi().

int transactionFileInfo_s::striplen

| Definition at line 78 of file psm.h. Referenced by psmStage(), and writeFile().

enum rpmTransactionType transactionFileInfo_s::type

| Definition at line 25 of file psm.h. Referenced by fiTypeString(), freeFi(), fsmMapPath(), handleOverlappedFiles(), loadFi(), mapInitIterator(), rpmRunTransactions(), and tsGetAlp().

uid_t transactionFileInfo_s::uid

| Definition at line 87 of file psm.h. Referenced by fsmMapAttrs(), and psmStage().

const char* transactionFileInfo_s::version

| Definition at line 40 of file psm.h. Referenced by freeFi(), loadFi(), and psmStage().

The documentation for this struct was generated from the following file:

- lib/psm.h