Data Fields

rpmpsm_s Struct Reference

#include <lib/psm.h>

Collaboration diagram for rpmpsm_s:
Collaboration graph
[legend]

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

Detailed Description

Definition at line 115 of file psm.h.


Field Documentation

usage mutex and pool identifier.

Definition at line 116 of file psm.h.

unsigned long long rpmpsm_s::amount

Callback amount.

Definition at line 165 of file psm.h.

Referenced by rpmpsmStage().

Payload file handle.

Definition at line 138 of file psm.h.

Referenced by rpmpsmStage().

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().

Repackage file handle.

Definition at line 140 of file psm.h.

Referenced by rpmpsmStage(), and runScript().

PSM control bit(s).

Definition at line 121 of file psm.h.

Referenced by rpmtsRun().

Definition at line 168 of file psm.h.

Referenced by rpmpsmStage().

Install prefixes

Definition at line 136 of file psm.h.

Referenced by rpmpsmFini(), rpmpsmNew(), and runScript().

An rpmdb iterator for this psm's use.

Definition at line 143 of file psm.h.

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

No. of installed instances.

Definition at line 160 of file psm.h.

Referenced by rpmpsmStage().

Next psm stage.

Definition at line 171 of file psm.h.

Referenced by rpmpsmNext().

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().

Repackage header.

Definition at line 141 of file psm.h.

Referenced by rpmpsmStage().

Payload archive format.

Definition at line 149 of file psm.h.

Referenced by rpmpsmStage().

const char* rpmpsm_s::pkgfn

Repackage file name.

Definition at line 155 of file psm.h.

Referenced by rpmpsmStage().

const char* rpmpsm_s::pkgURL

Repackage URL.

Definition at line 153 of file psm.h.

Referenced by rpmpsmStage().

Scriptlet interpreter tag.

Definition at line 159 of file psm.h.

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

const char* rpmpsm_s::rpmio_flags

Payload compression type/flags.

Definition at line 147 of file psm.h.

Referenced by rpmpsmStage().

Scriptlet package arg.

Definition at line 161 of file psm.h.

Referenced by rpmpsmStage(), and runInstScript().

Scriptlet data tag.

Definition at line 158 of file psm.h.

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

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().

Scriptlet states and return codes.

Definition at line 157 of file psm.h.

Referenced by psmWait(), rpmpsmFini(), rpmpsmNew(), and runScript().

Current psm stage.

Definition at line 170 of file psm.h.

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().

current transaction element

Definition at line 125 of file psm.h.

Referenced by markReplacedFiles(), rpmpsmFini(), rpmpsmNew(), rpmpsmStage(), runScript(), and runTriggers().

rpmdb trigger patterns

Definition at line 133 of file psm.h.

Referenced by rpmdbTriggerGlobs(), runTriggers(), and runTriggersLoop().

unsigned long long rpmpsm_s::total

Callback total.

Definition at line 166 of file psm.h.

Referenced by rpmpsmStage().

const char** rpmpsm_s::Tpats

rpmdb trigger pattern strings

Definition at line 131 of file psm.h.

Referenced by rpmdbTriggerGlobs(), runTriggers(), and runTriggersLoop().

trigger dependency set

Definition at line 129 of file psm.h.

Referenced by rpmpsmFini(), rpmpsmNew(), rpmpsmStage(), and runImmedTriggers().

Callback type.

Definition at line 164 of file psm.h.

Referenced by rpmpsmStage().


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