#include <lib/psm.h>
Data Fields | |
struct 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 |
Definition at line 64 of file psm.h.
unsigned long long rpmpsm_s::amount |
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 |
Repackage file handle.
Definition at line 76 of file psm.h.
Referenced by rpmpsmStage(), and runScript().
transaction element file info
Definition at line 72 of file psm.h.
Referenced by markReplacedFiles(), rpmpsmFree(), rpmpsmNew(), rpmpsmStage(), rpmtsRun(), runImmedTriggers(), runInstScript(), and runTriggers().
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::nrefs |
Reference count.
Definition at line 112 of file psm.h.
Referenced by rpmpsmFree(), XrpmpsmLink(), and XrpmpsmUnlink().
const char* rpmpsm_s::payload_format |
const char* rpmpsm_s::pkgfn |
const char* rpmpsm_s::pkgURL |
Scriptlet interpreter tag.
Definition at line 95 of file psm.h.
Referenced by rpmpsmStage(), rpmtsRun(), rpmVerifyScript(), and runInstScript().
const char* rpmpsm_s::rpmio_flags |
Scriptlet package arg.
Definition at line 97 of file psm.h.
Referenced by rpmpsmStage(), and runInstScript().
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 [read] |
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(), rpmpsmNew(), and runScript().
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().
current transaction element
Definition at line 70 of file psm.h.
Referenced by markReplacedFiles(), rpmpsmFree(), rpmpsmNew(), rpmpsmStage(), runScript(), and runTriggers().
unsigned long long rpmpsm_s::total |
transaction set
Definition at line 68 of file psm.h.
Referenced by handleOneTrigger(), markReplacedFiles(), psmWait(), rpmpsmFree(), rpmpsmNew(), rpmpsmStage(), rpmVerifyScript(), runImmedTriggers(), runScript(), and runTriggers().
Can the PSM be run asynchronously?
Definition at line 101 of file psm.h.
Referenced by rpmtsRun(), and runScript().