# psm_s Struct Reference

`#include <psm.h>`

## Data Fields

rpmTransactionSet | ts
TFI_t | fi
FD_t | cfd
FD_t | fd
Header | oh
rpmdbMatchIterator | mi
const char * | stepName
const char * | rpmio_flags
const char * | failedFile
const char * | pkgURL
const char * | pkgfn
int | scriptTag
int | progTag
int | npkgs_installed
int | scriptArg
int | sense
int | countCorrection
int | chrootDone
rpmCallbackType | what
unsigned long | amount
unsigned long | total
rpmRC | rc
pkgStage | goal
pkgStage | stage

## Field Documentation

unsigned long psm_s::amount

| Callback amount. Definition at line 186 of file psm.h. Referenced by psmStage().

FD_t psm_s::cfd

| Payload file handle. Definition at line 163 of file psm.h. Referenced by psmStage().

int psm_s::chrootDone

| Was chroot(2) done by pkgStage? Definition at line 184 of file psm.h. Referenced by psmStage().

int psm_s::countCorrection

| 0 if installing, -1 if removing. Definition at line 183 of file psm.h. Referenced by handleOneTrigger(), psmStage(), and runTriggers().

const char* psm_s::failedFile

| Definition at line 173 of file psm.h. Referenced by psmStage().

FD_t psm_s::fd

| Repackage file handle. Definition at line 164 of file psm.h. Referenced by psmStage().

TFI_t psm_s::fi

| transaction element file info Definition at line 162 of file psm.h. Referenced by handleOneTrigger(), markReplacedFiles(), psmStage(), runImmedTriggers(), runInstScript(), runScript(), and runTriggers().

pkgStage psm_s::goal

| Definition at line 189 of file psm.h. Referenced by psmStage().

rpmdbMatchIterator psm_s::mi

| Definition at line 167 of file psm.h. Referenced by psmStage().

int psm_s::npkgs_installed

| No. of installed instances. Definition at line 180 of file psm.h. Referenced by psmStage().

Header psm_s::oh

| Repackage/multilib header. Definition at line 165 of file psm.h. Referenced by psmStage().

const char* psm_s::pkgfn

| Repackage file name. Definition at line 177 of file psm.h. Referenced by psmStage().

const char* psm_s::pkgURL

| Repackage URL. Definition at line 175 of file psm.h. Referenced by psmStage().

int psm_s::progTag

| Scriptlet interpreter tag. Definition at line 179 of file psm.h. Referenced by psmStage(), and runInstScript().

rpmRC psm_s::rc

| Definition at line 188 of file psm.h. Referenced by psmStage().

const char* psm_s::rpmio_flags

| Definition at line 171 of file psm.h. Referenced by psmStage().

int psm_s::scriptArg

| Scriptlet package arg. Definition at line 181 of file psm.h. Referenced by psmStage(), and runInstScript().

int psm_s::scriptTag

| Scriptlet data tag. Definition at line 178 of file psm.h. Referenced by psmStage(), and runInstScript().

int psm_s::sense

| One of RPMSENSE_TRIGGER{IN,UN,POSTUN}. Definition at line 182 of file psm.h. Referenced by handleOneTrigger(), and psmStage().

pkgStage psm_s::stage

| Definition at line 191 of file psm.h.

const char* psm_s::stepName

| Definition at line 169 of file psm.h. Referenced by psmStage().

unsigned long psm_s::total

| Callback total. Definition at line 187 of file psm.h. Referenced by psmStage().

rpmTransactionSet psm_s::ts

| transaction set Definition at line 160 of file psm.h. Referenced by handleOneTrigger(), markReplacedFiles(), psmStage(), runImmedTriggers(), runScript(), and runTriggers().

rpmCallbackType psm_s::what

| Callback type. Definition at line 185 of file psm.h. Referenced by psmStage().

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

- lib/psm.h