rpm
5.2.1
|
#include <lib/psm.h>
Data Fields | |
struct rpmioItem_s | _item |
struct rpmsqElem | sq |
const char * | NVRA |
rpmpsmFlags | flags |
rpmts | ts |
rpmte | te |
rpmfi | fi |
rpmds | triggers |
const char ** | Tpats |
void * | Tmires |
int | nTmires |
HE_t | IPhe |
FD_t | cfd |
FD_t | fd |
Header | oh |
rpmmi | mi |
const char * | stepName |
const char * | rpmio_flags |
const char * | payload_format |
const char * | failedFile |
const char * | pkgURL |
const char * | pkgfn |
int * | sstates |
rpmTag | scriptTag |
rpmTag | progTag |
int | npkgs_installed |
int | scriptArg |
int | sense |
int | countCorrection |
rpmCallbackType | what |
unsigned long long | amount |
unsigned long long | total |
rpmRC | rc |
pkgStage | goal |
pkgStage | stage |
pkgStage | nstage |
struct rpmioItem_s rpmpsm_s::_item |
unsigned long long rpmpsm_s::amount |
FD_t rpmpsm_s::cfd |
int rpmpsm_s::countCorrection |
0 if installing, -1 if removing.
Definition at line 163 of file psm.h.
Referenced by handleOneTrigger(), rpmpsmStage(), and runTriggers().
const char* rpmpsm_s::failedFile |
Definition at line 151 of file psm.h.
Referenced by rpmpsmStage().
FD_t rpmpsm_s::fd |
Repackage file handle.
Definition at line 140 of file psm.h.
Referenced by rpmpsmStage(), and runScript().
rpmfi rpmpsm_s::fi |
file info
Definition at line 127 of file psm.h.
Referenced by markReplacedFiles(), rpmpsmFini(), rpmpsmNew(), rpmpsmStage(), rpmtsRun(), runImmedTriggers(), runInstScript(), runTriggers(), and runTriggersLoop().
rpmpsmFlags rpmpsm_s::flags |
pkgStage rpmpsm_s::goal |
Definition at line 168 of file psm.h.
Referenced by rpmpsmStage().
HE_t rpmpsm_s::IPhe |
Install prefixes
Definition at line 136 of file psm.h.
Referenced by rpmpsmFini(), rpmpsmNew(), and runScript().
rpmmi rpmpsm_s::mi |
An rpmdb iterator for this psm's use.
Definition at line 143 of file psm.h.
Referenced by rpmpsmStage(), runImmedTriggers(), and runTriggersLoop().
int rpmpsm_s::npkgs_installed |
pkgStage rpmpsm_s::nstage |
int rpmpsm_s::nTmires |
no. of rpmdb trigger patterns
Definition at line 134 of file psm.h.
Referenced by rpmdbTriggerGlobs(), runTriggers(), and runTriggersLoop().
const char* rpmpsm_s::NVRA |
NVRA identifier (for debugging)
Definition at line 120 of file psm.h.
Referenced by rpmpsmFini(), rpmpsmNew(), and runScript().
Header rpmpsm_s::oh |
const char* rpmpsm_s::payload_format |
const char* rpmpsm_s::pkgfn |
const char* rpmpsm_s::pkgURL |
rpmTag rpmpsm_s::progTag |
Scriptlet interpreter tag.
Definition at line 159 of file psm.h.
Referenced by rpmpsmStage(), rpmtsRun(), rpmVerifyScript(), and runInstScript().
rpmRC rpmpsm_s::rc |
Definition at line 167 of file psm.h.
Referenced by handleOneTrigger(), rpmpsmStage(), runImmedTriggers(), runInstScript(), runScript(), runTriggers(), and runTriggersLoop().
const char* rpmpsm_s::rpmio_flags |
int rpmpsm_s::scriptArg |
Scriptlet package arg.
Definition at line 161 of file psm.h.
Referenced by rpmpsmStage(), and runInstScript().
rpmTag rpmpsm_s::scriptTag |
Scriptlet data tag.
Definition at line 158 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 162 of file psm.h.
Referenced by handleOneTrigger(), rpmpsmStage(), and runImmedTriggers().
struct rpmsqElem rpmpsm_s::sq |
Scriptlet/signal queue element.
Definition at line 117 of file psm.h.
Referenced by psmWait(), and runScript().
int* rpmpsm_s::sstates |
Scriptlet states and return codes.
Definition at line 157 of file psm.h.
Referenced by psmWait(), rpmpsmFini(), rpmpsmNew(), and runScript().
const char* rpmpsm_s::stepName |
The current PSM step (for display).
Definition at line 145 of file psm.h.
Referenced by _processFailedPackage(), psmWait(), rpmpsmStage(), rpmtsRun(), rpmVerifyScript(), and runScript().
rpmte rpmpsm_s::te |
current transaction element
Definition at line 125 of file psm.h.
Referenced by markReplacedFiles(), rpmpsmFini(), rpmpsmNew(), rpmpsmStage(), runScript(), and runTriggers().
void* rpmpsm_s::Tmires |
rpmdb trigger patterns
Definition at line 133 of file psm.h.
Referenced by rpmdbTriggerGlobs(), runTriggers(), and runTriggersLoop().
unsigned long long rpmpsm_s::total |
const char** rpmpsm_s::Tpats |
rpmdb trigger pattern strings
Definition at line 131 of file psm.h.
Referenced by rpmdbTriggerGlobs(), runTriggers(), and runTriggersLoop().
rpmds rpmpsm_s::triggers |
trigger dependency set
Definition at line 129 of file psm.h.
Referenced by rpmpsmFini(), rpmpsmNew(), rpmpsmStage(), and runImmedTriggers().
rpmts rpmpsm_s::ts |
transaction set
Definition at line 123 of file psm.h.
Referenced by handleOneTrigger(), markReplacedFiles(), psmWait(), rpmdbTriggerGlobs(), rpmpsmFini(), rpmpsmNew(), rpmpsmStage(), rpmVerifyScript(), runImmedTriggers(), runScript(), runTriggers(), and runTriggersLoop().
rpmCallbackType rpmpsm_s::what |