rpmts_s Struct Reference
[Transaction Set API.]

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

#include <rpmts.h>

Data Fields

rpmtransFlags transFlags
tsmStage goal
rpmtsType type
rpmdb sdb
int sdbmode
int(* solve )(rpmts ts, rpmds key, const void *data)
const void * solveData
int nsuggests
const void ** suggests
rpmCallbackFunction notify
rpmCallbackData notifyData
rpmps probs
rpmprobFilterFlags ignoreSet
int filesystemCount
const char ** filesystems
rpmDiskSpaceInfo dsi
rpmdb rdb
int dbmode
hashTable ht
int * removedPackages
int numRemovedPackages
int allocedRemovedPackages
rpmal addedPackages
int numAddedPackages
rpmal availablePackages
int numAvailablePackages
rpmsx sx
rpmte relocateElement
rpmteorder
int orderCount
int orderAlloced
int unorderedSuccessors
int ntrees
int maxDepth
int selinuxEnabled
int chrootDone
const char * rootDir
const char * currDir
FD_t scriptFd
int delta
int_32 tid
uint_32 color
uint_32 prefcolor
rpmVSFlags vsflags
const char * fn
int_32 sigtag
int_32 sigtype
const void * sig
int_32 siglen
const unsigned char * pkpkt
size_t pkpktlen
unsigned char pksignid [8]
struct rpmop_s ops [RPMTS_OP_MAX]
pgpDig dig
Spec spec
rpmtsScore score
int nrefs

Detailed Description

The set of packages to be installed/removed atomically.

Definition at line 232 of file rpmts.h.


Field Documentation

Set of packages being installed.

Definition at line 277 of file rpmts.h.

Referenced by addRelation(), rpmtsAddInstallElement(), rpmtsCheck(), rpmtsClean(), rpmtsCreate(), rpmtsOrder(), and unsatisfiedDepend().

Size of removed packages array.

Definition at line 274 of file rpmts.h.

Referenced by removePackage(), and rpmtsCreate().

Universe of available packages.

Definition at line 282 of file rpmts.h.

Referenced by checkPackageDeps(), rpmts_Check(), rpmtsAddAvailableElement(), rpmtsAvailable(), rpmtsCreate(), and rpmtsFree().

Has chroot(2) been been done?

Definition at line 301 of file rpmts.h.

Referenced by rpmtsChrootDone(), rpmtsCreate(), and rpmtsSetChrootDone().

Transaction color bits.

Definition at line 311 of file rpmts.h.

Referenced by rpmtsColor(), rpmtsCreate(), and rpmtsSetColor().

const char* rpmts_s::currDir

Current working directory.

Definition at line 305 of file rpmts.h.

Referenced by rpmtsCreate(), rpmtsCurrDir(), rpmtsFree(), and rpmtsSetCurrDir().

Install database open mode.

Definition at line 267 of file rpmts.h.

Referenced by rpmgiNext(), rpmts_CloseDB(), rpmts_OpenDB(), rpmtsAddInstallElement(), rpmtsCheck(), rpmtsCreate(), rpmtsInitIterator(), and rpmtsOpenDB().

Delta for reallocation.

Definition at line 308 of file rpmts.h.

Referenced by removePackage(), rpmtsAddInstallElement(), and rpmtsCreate().

Current signature/pubkey parameters.

Definition at line 332 of file rpmts.h.

Referenced by rpmtsCleanDig(), rpmtsCreate(), and rpmtsDig().

Per filesystem disk/inode usage.

Definition at line 263 of file rpmts.h.

Referenced by rpmtsCheckDSIProblems(), rpmtsCreate(), rpmtsFree(), rpmtsInitDSI(), and rpmtsUpdateDSI().

No. of mounted filesystems.

Definition at line 259 of file rpmts.h.

Referenced by rpmtsCheckDSIProblems(), rpmtsCreate(), and rpmtsInitDSI().

const char** rpmts_s::filesystems

Mounted filesystem names.

Definition at line 261 of file rpmts.h.

Referenced by rpmtsCheckDSIProblems(), rpmtsCreate(), and rpmtsInitDSI().

const char* rpmts_s::fn

Current package fn.

Definition at line 317 of file rpmts.h.

Transaction goal (i.e. mode)

Definition at line 234 of file rpmts.h.

Referenced by rpmErase(), rpmInstall(), rpmtsCreate(), and rpmtsSolve().

Fingerprint hash table.

Definition at line 269 of file rpmts.h.

Referenced by handleOverlappedFiles(), and rpmtsRun().

Bits to filter current problems.

Definition at line 257 of file rpmts.h.

Referenced by rpmtsFilterFlags(), and rpmtsRun().

Maximum depth of dependency tree(s).

Definition at line 298 of file rpmts.h.

Referenced by addRelation(), rpmtsCreate(), and rpmtsEmpty().

Callback function.

Definition at line 250 of file rpmts.h.

Referenced by rpmpsmStage(), rpmtsNotify(), rpmtsRun(), and rpmtsSetNotifyCallback().

Callback private data.

Definition at line 252 of file rpmts.h.

Referenced by rpmtsNotify(), rpmtsRun(), and rpmtsSetNotifyCallback().

Reference count.

Definition at line 341 of file rpmts.h.

Referenced by rpmtsCreate(), rpmtsFree(), XrpmtsLink(), and XrpmtsUnlink().

No. of depCheck suggestions.

Definition at line 245 of file rpmts.h.

Referenced by rpmgiNext(), rpmGraph(), rpmInstall(), rpmtsAvailable(), rpmtsClean(), rpmtsCreate(), and rpmtsSolve().

No. of dependency trees.

Definition at line 297 of file rpmts.h.

Referenced by rpmtsCreate(), rpmtsEmpty(), and rpmtsOrder().

No. added package instances.

Definition at line 278 of file rpmts.h.

Referenced by rpmtsAddInstallElement(), rpmtsClean(), rpmtsCreate(), and rpmtsOrder().

No. available package instances.

Definition at line 283 of file rpmts.h.

Referenced by rpmtsCreate(), and rpmtsFree().

No. removed package instances.

Definition at line 273 of file rpmts.h.

Referenced by checkPackageSet(), removePackage(), rpmtsAddInstallElement(), rpmtsCreate(), rpmtsEmpty(), rpmtsOrder(), rpmtsRun(), and unsatisfiedDepend().

struct rpmop_s rpmts_s::ops[RPMTS_OP_MAX] [read]

Definition at line 329 of file rpmts.h.

Referenced by rpmtsCreate(), and rpmtsOp().

Packages sorted by dependencies.

Definition at line 293 of file rpmts.h.

Referenced by removePackage(), rpmtsAddInstallElement(), rpmtsCreate(), rpmtsElement(), rpmtsEmpty(), rpmtsFree(), rpmtsNElements(), and rpmtsOrder().

No. of allocated transaction elements.

Definition at line 295 of file rpmts.h.

Referenced by removePackage(), rpmtsAddInstallElement(), rpmtsCreate(), rpmtsFree(), and rpmtsOrder().

No. of transaction elements.

Definition at line 294 of file rpmts.h.

Referenced by addRelation(), removePackage(), rpmtsAddInstallElement(), rpmtsCreate(), rpmtsEmpty(), rpmtsGetKeys(), rpmtsNElements(), rpmtsOrder(), and rpmtsRun().

const unsigned char* rpmts_s::pkpkt

Current pubkey packet.

Definition at line 325 of file rpmts.h.

Referenced by rpmtsCreate(), rpmtsFindPubkey(), and rpmtsFree().

Current pubkey packet length.

Definition at line 326 of file rpmts.h.

Referenced by rpmtsCreate(), rpmtsFindPubkey(), and rpmtsFree().

unsigned char rpmts_s::pksignid[8]

Current pubkey fingerprint.

Definition at line 327 of file rpmts.h.

Referenced by rpmtsCreate(), rpmtsFindPubkey(), and rpmtsFree().

Preferred file color.

Definition at line 312 of file rpmts.h.

Referenced by rpmtsCreate(), and rpmtsPrefColor().

Current problems in transaction.

Definition at line 255 of file rpmts.h.

Referenced by checkPackageDeps(), rpmgiNext(), rpmtsCheck(), rpmtsClean(), rpmtsCreate(), rpmtsProblems(), and rpmtsRun().

Element to use when relocating packages.

Definition at line 290 of file rpmts.h.

Referenced by rpmtsRelocateElement(), and rpmtsSetRelocateElement().

Set of packages being removed.

Definition at line 272 of file rpmts.h.

Referenced by checkPackageSet(), removePackage(), rpmtsAddInstallElement(), rpmtsCreate(), rpmtsFree(), rpmtsRun(), and unsatisfiedDepend().

const char* rpmts_s::rootDir

Path to top of install tree.

Definition at line 303 of file rpmts.h.

Referenced by rpmtsCreate(), rpmtsFree(), rpmtsInitDB(), rpmtsOpenDB(), rpmtsOpenSDB(), rpmtsRebuildDB(), rpmtsRootDir(), rpmtsSetRootDir(), rpmtsVerifyDB(), and runScript().

Transaction Score (autorollback).

Definition at line 338 of file rpmts.h.

Referenced by rpmtsCreate(), rpmtsFree(), rpmtsGetScore(), and rpmtsScoreInit().

Scriptlet stdout/stderr.

Definition at line 307 of file rpmts.h.

Referenced by rpmtsCreate(), rpmtsFree(), rpmtsScriptFd(), and rpmtsSetScriptFd().

Solve database handle.

Definition at line 238 of file rpmts.h.

Referenced by rpmtsCloseSDB(), rpmtsCreate(), rpmtsOpenSDB(), and rpmtsSolve().

Solve database open mode.

Definition at line 239 of file rpmts.h.

Referenced by rpmtsCreate(), rpmtsOpenSDB(), and rpmtsSolve().

Is SE linux enabled?

Definition at line 300 of file rpmts.h.

Referenced by rpmtsCreate(), and rpmtsSELinuxEnabled().

const void* rpmts_s::sig

Current package signature.

Definition at line 321 of file rpmts.h.

Referenced by rpmtsCleanDig(), rpmtsCreate(), rpmtsSetSig(), and rpmtsSig().

Current package signature length.

Definition at line 322 of file rpmts.h.

Referenced by rpmtsSetSig(), and rpmtsSiglen().

Current package signature tag.

Definition at line 318 of file rpmts.h.

Referenced by rpmtsSetSig(), and rpmtsSigtag().

Current package signature data type.

Definition at line 319 of file rpmts.h.

Referenced by rpmtsCleanDig(), rpmtsSetSig(), and rpmtsSigtype().

int(* rpmts_s::solve)(rpmts ts, rpmds key, const void *data)

Search for NEVRA key.

Referenced by rpmtsCreate(), rpmtsSetSolveCallback(), and unsatisfiedDepend().

const void* rpmts_s::solveData

Solve callback data

Definition at line 244 of file rpmts.h.

Referenced by rpmtsCreate(), rpmtsSetSolveCallback(), and unsatisfiedDepend().

Spec file control structure.

Definition at line 335 of file rpmts.h.

Referenced by rpmtsSetSpec(), and rpmtsSpec().

const void** rpmts_s::suggests

Possible depCheck suggestions.

Definition at line 247 of file rpmts.h.

Referenced by rpmgiNext(), rpmGraph(), rpmInstall(), rpmtsAvailable(), rpmtsClean(), rpmtsCreate(), and rpmtsSolve().

Security context patterns.

Definition at line 287 of file rpmts.h.

Referenced by rpmtsFree(), rpmtsREContext(), and rpmtsSetREContext().

Transaction id.

Definition at line 309 of file rpmts.h.

Referenced by rpmtsCreate(), rpmtsGetTid(), and rpmtsSetTid().

Bit(s) to control operation.

Definition at line 233 of file rpmts.h.

Referenced by rpmts_Run(), rpmtsFlags(), rpmtsSetFlags(), and rpmtsSolve().

default, rollback, autorollback

Definition at line 235 of file rpmts.h.

Referenced by rpmtsCreate(), rpmtsGetType(), and rpmtsSetType().

Index of 1st element of successors.

Definition at line 296 of file rpmts.h.

Referenced by rpmtsUnorderedSuccessors().

Signature/digest verification flags.

Definition at line 314 of file rpmts.h.

Referenced by rpmtsInitIterator(), rpmtsRebuildDB(), rpmtsSetVSFlags(), and rpmtsVSFlags().


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

Generated on 8 Jun 2012 for rpm by  doxygen 1.6.1