- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- Data Structures
- Data Fields

# rpmTransactionSet_s Struct Reference
[RPMDEP.]

The set of packages to be installed/removed atomically. More...

`#include <depends.h>`

## Data Fields
rpmtransFlags | transFlags
rpmCallbackFunction | notify
rpmCallbackData | notifyData
rpmProblemSet | probs
rpmprobFilterFlags | ignoreSet
int | filesystemCount
const char ** | filesystems
diskspaceInfo * | di
rpmdb | rpmdb
int * | removedPackages
int | numRemovedPackages
int | allocedRemovedPackages
availableList_s | addedPackages
availableList_s | availablePackages
transactionElement | order
int | orderCount
int | orderAlloced
TFI_t | flList
int | flEntries
int | chrootDone
const char * | rootDir
const char * | currDir
FD_t | scriptFd
int | delta
int | id

## Detailed Description

The set of packages to be installed/removed atomically.

Definition at line 138 of file depends.h.

## Field Documentation

rpmtransFlags rpmTransactionSet_s::transFlags

Bit(s) to control operation.

Definition at line 139 of file depends.h.

Referenced by fsmMapAttrs(), fsmStage(), psmStage(), rpmdepOrder(), rpmRunTransactions(), skipFiles(), and tsInitIterator().

rpmCallbackFunction rpmTransactionSet_s::notify

Callback function.

Definition at line 140 of file depends.h.

Referenced by fsmSetup(), fsmStage(), rpmInstallSourcePackage(), rpmRunTransactions(), and writeFile().

rpmCallbackData rpmTransactionSet_s::notifyData

Callback private data.

Definition at line 142 of file depends.h.

Referenced by fsmSetup(), fsmStage(), rpmInstallSourcePackage(), rpmRunTransactions(), and writeFile().

rpmProblemSet rpmTransactionSet_s::probs

Current problems in transaction.

Definition at line 143 of file depends.h.

Referenced by relocateFileList(), and rpmRunTransactions().

rpmprobFilterFlags rpmTransactionSet_s::ignoreSet

Bits to filter current problems.

Definition at line 144 of file depends.h.

Referenced by relocateFileList(), and rpmRunTransactions().

int rpmTransactionSet_s::filesystemCount

No. of mounted filesystems.

Definition at line 145 of file depends.h.

Referenced by rpmRunTransactions().

const char** rpmTransactionSet_s::filesystems

Mounted filesystem names.

Definition at line 146 of file depends.h.

Referenced by rpmRunTransactions().

struct diskspaceInfo* rpmTransactionSet_s::di`[read]`

Per filesystem disk/inode usage.

Definition at line 147 of file depends.h.

Referenced by rpmRunTransactions(), and rpmtransFree().

rpmdb rpmTransactionSet_s::rpmdb

Database handle.

Definition at line 148 of file depends.h.

Referenced by checkDependentConflicts(), checkDependentPackages(), handleOneTrigger(), markReplacedFiles(), psmStage(), rpmdepCheck(), rpmRunTransactions(), rpmtransAddPackage(), runImmedTriggers(), runTriggers(), and unsatisfiedDepend().

int* rpmTransactionSet_s::removedPackages

Set of packages being removed.

Definition at line 149 of file depends.h.

Referenced by checkPackageSet(), removePackage(), rpmdepCheck(), rpmRunTransactions(), rpmtransAddPackage(), rpmtransFree(), and unsatisfiedDepend().

int rpmTransactionSet_s::numRemovedPackages

No. removed rpmdb instances.

Definition at line 150 of file depends.h.

Referenced by checkPackageSet(), removePackage(), rpmdepCheck(), rpmRunTransactions(), rpmtransAddPackage(), and unsatisfiedDepend().

int rpmTransactionSet_s::allocedRemovedPackages

Size of removed packages array.

Definition at line 151 of file depends.h.

Referenced by removePackage().

struct availableList_s rpmTransactionSet_s::addedPackages`[read]`

Set of packages being installed.

Definition at line 152 of file depends.h.

Referenced by addRelation(), rpmdepCheck(), rpmdepOrder(), rpmInstallSourcePackage(), rpmRunTransactions(), rpmtransAddPackage(), rpmtransFree(), rpmtransGetKeys(), tsGetAlp(), and unsatisfiedDepend().

struct availableList_s rpmTransactionSet_s::availablePackages`[read]`

Universe of possible packages.

Definition at line 154 of file depends.h.

Referenced by rpmdepCheck(), rpmdepOrder(), rpmtransAvailablePackage(), rpmtransFree(), and unsatisfiedDepend().

transactionElement rpmTransactionSet_s::order

Packages sorted by dependencies.

Definition at line 157 of file depends.h.

Referenced by removePackage(), rpmRunTransactions(), rpmtransAddPackage(), rpmtransFree(), rpmtransGetKeys(), and tsGetAlp().

int rpmTransactionSet_s::orderCount

No. of transaction elements.

Definition at line 158 of file depends.h.

Referenced by freeFl(), removePackage(), rpmRunTransactions(), rpmtransAddPackage(), rpmtransGetKeys(), tsInitIterator(), and tsNextIterator().

int rpmTransactionSet_s::orderAlloced

No. of allocated transaction elements.

Definition at line 159 of file depends.h.

Referenced by removePackage(), and rpmtransAddPackage().

TFI_t rpmTransactionSet_s::flList

Transaction element(s) file info.

Definition at line 160 of file depends.h.

Referenced by rpmRunTransactions(), tsGetAlp(), and tsNextIterator().

int rpmTransactionSet_s::flEntries

No. of transaction elements.

Definition at line 161 of file depends.h.

Referenced by rpmRunTransactions().

int rpmTransactionSet_s::chrootDone

Has chroot(2) been been done?

Definition at line 162 of file depends.h.

Referenced by rpmRunTransactions(), and runScript().

const char* rpmTransactionSet_s::rootDir

Path to top of install tree.

Definition at line 163 of file depends.h.

Referenced by rpmRunTransactions(), rpmtransFree(), and runScript().

const char* rpmTransactionSet_s::currDir

Current working directory.

Definition at line 164 of file depends.h.

Referenced by rpmRunTransactions(), and rpmtransFree().

FD_t rpmTransactionSet_s::scriptFd

Scriptlet stdout/stderr.

Definition at line 165 of file depends.h.

Referenced by rpmtransFree(), rpmtransSetScriptFd(), rpmVerifyScript(), and runScript().

int rpmTransactionSet_s::delta

Delta for reallocation.

Definition at line 166 of file depends.h.

Referenced by removePackage(), and rpmtransAddPackage().

int rpmTransactionSet_s::id

Transaction id.

Definition at line 167 of file depends.h.

Referenced by fsmSetup(), psmStage(), and rpmRunTransactions().

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

- lib/depends.h