Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

rpmpsm_s Struct Reference

#include <lib/psm.h>

Collaboration diagram for rpmpsm_s:

Collaboration graph
[legend]

Data Fields

rpmsqElem sq
rpmts ts
rpmte te
rpmfi fi
FD_t cfd
FD_t fd
Header oh
rpmdbMatchIterator mi
const char * stepName
const char * rpmio_flags
const char * payload_format
const char * failedFile
const char * pkgURL
const char * pkgfn
int * sstates
int scriptTag
int progTag
int npkgs_installed
int scriptArg
int sense
int countCorrection
int chrootDone
int unorderedSuccessor
rpmCallbackType what
unsigned long long amount
unsigned long long total
rpmRC rc
pkgStage goal
pkgStage stage
pkgStage nstage
int nrefs

Detailed Description

Definition at line 64 of file psm.h.


Field Documentation

unsigned long long rpmpsm_s::amount
 

Callback amount.

Definition at line 103 of file psm.h.

Referenced by rpmpsmStage().

FD_t rpmpsm_s::cfd
 

Payload file handle.

Definition at line 74 of file psm.h.

Referenced by rpmpsmStage().

int rpmpsm_s::chrootDone
 

Was chroot(2) done by pkgStage?

Definition at line 100 of file psm.h.

Referenced by rpmpsmStage().

int rpmpsm_s::countCorrection
 

0 if installing, -1 if removing.

Definition at line 99 of file psm.h.

Referenced by handleOneTrigger(), rpmpsmStage(), and runTriggers().

const char* rpmpsm_s::failedFile
 

Definition at line 87 of file psm.h.

Referenced by rpmpsmStage().

FD_t rpmpsm_s::fd
 

Repackage file handle.

Definition at line 76 of file psm.h.

Referenced by rpmpsmStage(), and runScript().

rpmfi rpmpsm_s::fi
 

transaction element file info

Definition at line 72 of file psm.h.

Referenced by handleOneTrigger(), markReplacedFiles(), rpmpsmFree(), rpmpsmStage(), rpmtsRun(), runImmedTriggers(), runInstScript(), runScript(), and runTriggers().

pkgStage rpmpsm_s::goal
 

Definition at line 106 of file psm.h.

Referenced by rpmpsmStage().

rpmdbMatchIterator rpmpsm_s::mi
 

An rpmdb iterator for this psm's use.

Definition at line 79 of file psm.h.

Referenced by rpmpsmStage(), runImmedTriggers(), and runTriggers().

int rpmpsm_s::npkgs_installed
 

No. of installed instances.

Definition at line 96 of file psm.h.

Referenced by rpmpsmStage().

int rpmpsm_s::nrefs
 

Reference count.

Definition at line 112 of file psm.h.

Referenced by rpmpsmFree(), XrpmpsmLink(), and XrpmpsmUnlink().

pkgStage rpmpsm_s::nstage
 

Next psm stage.

Definition at line 109 of file psm.h.

Referenced by rpmpsmNext(), and rpmpsmThread().

Header rpmpsm_s::oh
 

Repackage header.

Definition at line 77 of file psm.h.

Referenced by rpmpsmStage().

const char* rpmpsm_s::payload_format
 

Payload archive format.

Definition at line 85 of file psm.h.

Referenced by rpmpsmStage().

const char* rpmpsm_s::pkgfn
 

Repackage file name.

Definition at line 91 of file psm.h.

Referenced by rpmpsmStage().

const char* rpmpsm_s::pkgURL
 

Repackage URL.

Definition at line 89 of file psm.h.

Referenced by rpmpsmStage().

int rpmpsm_s::progTag
 

Scriptlet interpreter tag.

Definition at line 95 of file psm.h.

Referenced by rpmpsmStage(), rpmtsRun(), rpmVerifyScript(), and runInstScript().

rpmRC rpmpsm_s::rc
 

Definition at line 105 of file psm.h.

Referenced by rpmpsmStage().

const char* rpmpsm_s::rpmio_flags
 

Payload compression type/flags.

Definition at line 83 of file psm.h.

Referenced by rpmpsmStage().

int rpmpsm_s::scriptArg
 

Scriptlet package arg.

Definition at line 97 of file psm.h.

Referenced by rpmpsmStage(), and runInstScript().

int rpmpsm_s::scriptTag
 

Scriptlet data tag.

Definition at line 94 of file psm.h.

Referenced by psmWait(), rpmpsmStage(), rpmtsRun(), rpmVerifyScript(), runInstScript(), and runScript().

int rpmpsm_s::sense
 

One of RPMSENSE_TRIGGER{PREIN,IN,UN,POSTUN}.

Definition at line 98 of file psm.h.

Referenced by handleOneTrigger(), and rpmpsmStage().

struct rpmsqElem rpmpsm_s::sq
 

Scriptlet/signal queue element.

Definition at line 65 of file psm.h.

Referenced by psmWait(), and runScript().

int* rpmpsm_s::sstates
 

Scriptlet states and return codes.

Definition at line 93 of file psm.h.

Referenced by psmWait(), rpmpsmFree(), and runScript().

pkgStage rpmpsm_s::stage
 

Current psm stage.

Definition at line 108 of file psm.h.

const char* rpmpsm_s::stepName
 

The current PSM step (for display).

Definition at line 81 of file psm.h.

Referenced by _processFailedPackage(), psmWait(), rpmpsmStage(), rpmtsRun(), rpmVerifyScript(), and runScript().

rpmte rpmpsm_s::te
 

current transaction element

Definition at line 70 of file psm.h.

Referenced by rpmpsmFree(), rpmpsmStage(), and runTriggers().

unsigned long long rpmpsm_s::total
 

Callback total.

Definition at line 104 of file psm.h.

Referenced by rpmpsmStage().

rpmts rpmpsm_s::ts
 

transaction set

Definition at line 68 of file psm.h.

Referenced by handleOneTrigger(), markReplacedFiles(), psmWait(), rpmpsmFree(), rpmpsmStage(), rpmVerifyScript(), runImmedTriggers(), runScript(), and runTriggers().

int rpmpsm_s::unorderedSuccessor
 

Can the PSM be run asynchronously?

Definition at line 101 of file psm.h.

Referenced by rpmtsRun(), and runScript().

rpmCallbackType rpmpsm_s::what
 

Callback type.

Definition at line 102 of file psm.h.

Referenced by rpmpsmStage().


The documentation for this struct was generated from the following file:
Generated on Sun Aug 18 14:34:34 2013 for rpm by  doxygen 1.4.4