rpm 5.2.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- Data Structures
- Data Fields

Data Fields
rpmpsm_s Struct Reference

`#include <lib/psm.h>`

Collaboration diagram for rpmpsm_s:
[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

struct rpmioItem_s rpmpsm_s::_item

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

FD_t rpmpsm_s::cfd

Payload file handle.

Definition at line 138 of file psm.h.

Referenced by rpmpsmStage().

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

PSM control bit(s).

Definition at line 121 of file psm.h.

Referenced by rpmtsRun().

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

No. of installed instances.

Definition at line 160 of file psm.h.

Referenced by rpmpsmStage().

pkgStage rpmpsm_s::nstage

Next psm stage.

Definition at line 171 of file psm.h.

Referenced by rpmpsmNext().

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

Repackage header.

Definition at line 141 of file psm.h.

Referenced by rpmpsmStage().

const char* rpmpsm_s::payload_format

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

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

Payload compression type/flags.

Definition at line 147 of file psm.h.

Referenced by rpmpsmStage().

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

pkgStage rpmpsm_s::stage

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

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

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

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

Callback type.

Definition at line 164 of file psm.h.

Referenced by rpmpsmStage().

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

- lib/psm.h