Main Page Modules Data Structures File List Data Fields Globals Related Pages

# rpmpsm_s Struct Reference

`#include <psm.h>`

## Data Fields
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 * | failedFile
const char * | pkgURL
const char * | pkgfn
int | scriptTag
int | progTag
int | npkgs_installed
int | scriptArg
int | sense
int | countCorrection
int | chrootDone
int | unorderedSuccessor
int | reaper
pid_t | reaped
pid_t | child
int | status
rpmCallbackType | what
unsigned long | amount
unsigned long | total
rpmRC | rc
pkgStage | goal
pkgStage | stage
int | nrefs

## Field Documentation

unsigned long rpmpsm_s::amount

| Callback amount. Definition at line 97 of file psm.h.

FD_t rpmpsm_s::cfd

| Payload file handle. Definition at line 69 of file psm.h.

pid_t rpmpsm_s::child

| Currently running process. Definition at line 94 of file psm.h.

int rpmpsm_s::chrootDone

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

int rpmpsm_s::countCorrection

| 0 if installing, -1 if removing. Definition at line 89 of file psm.h.

const char* rpmpsm_s::failedFile

| Definition at line 79 of file psm.h.

FD_t rpmpsm_s::fd

| Repackage file handle. Definition at line 70 of file psm.h.

rpmfi rpmpsm_s::fi

| transaction element file info Definition at line 68 of file psm.h.

pkgStage rpmpsm_s::goal

| Definition at line 100 of file psm.h.

rpmdbMatchIterator rpmpsm_s::mi

| Definition at line 73 of file psm.h.

int rpmpsm_s::npkgs_installed

| No. of installed instances. Definition at line 86 of file psm.h.

int rpmpsm_s::nrefs

| Reference count. Definition at line 105 of file psm.h.

Header rpmpsm_s::oh

| Repackage/multilib header. Definition at line 71 of file psm.h.

const char* rpmpsm_s::pkgfn

| Repackage file name. Definition at line 83 of file psm.h.

const char* rpmpsm_s::pkgURL

| Repackage URL. Definition at line 81 of file psm.h.

int rpmpsm_s::progTag

| Scriptlet interpreter tag. Definition at line 85 of file psm.h. Referenced by rpmVerifyScript.

rpmRC rpmpsm_s::rc

| Definition at line 99 of file psm.h.

pid_t rpmpsm_s::reaped

| Reaped waitpid return. Definition at line 93 of file psm.h.

int rpmpsm_s::reaper

| Register SIGCHLD handler? Definition at line 92 of file psm.h.

const char* rpmpsm_s::rpmio_flags

| Definition at line 77 of file psm.h.

int rpmpsm_s::scriptArg

| Scriptlet package arg. Definition at line 87 of file psm.h.

int rpmpsm_s::scriptTag

| Scriptlet data tag. Definition at line 84 of file psm.h. Referenced by rpmVerifyScript.

int rpmpsm_s::sense

| One of RPMSENSE_TRIGGER{IN,UN,POSTUN}. Definition at line 88 of file psm.h.

pkgStage rpmpsm_s::stage

| Definition at line 102 of file psm.h.

int rpmpsm_s::status

| Reaped waitpid status. Definition at line 95 of file psm.h.

const char* rpmpsm_s::stepName

| Definition at line 75 of file psm.h. Referenced by rpmVerifyScript.

rpmte rpmpsm_s::te

| current transaction element Definition at line 66 of file psm.h.

unsigned long rpmpsm_s::total

| Callback total. Definition at line 98 of file psm.h.

rpmts rpmpsm_s::ts

| transaction set Definition at line 64 of file psm.h. Referenced by rpmVerifyScript.

int rpmpsm_s::unorderedSuccessor

| Can the PSM be run asynchronously? Definition at line 91 of file psm.h.

rpmCallbackType rpmpsm_s::what

| Callback type. Definition at line 96 of file psm.h.

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

- lib/psm.h