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

- Data Structures
- Data Fields

# transactionElement_s Struct Reference
[RPMDEP.]

A single package instance to be installed/removed atomically. More...

`#include <depends.h>`

## Public Types
enum | rpmTransactionType { TR_ADDED, TR_REMOVED }
## Data Fields
enum transactionElement_s::rpmTransactionType | type
union {
int addedIndex
struct {
int dboffset
int dependsOnIndex
} removed
} | u

## Detailed Description

A single package instance to be installed/removed atomically.

Definition at line 121 of file depends.h.

## Member Enumeration Documentation

enum transactionElement_s::rpmTransactionType

Enumerator:

  TR_ADDED | Package will be installed.
  TR_REMOVED | Package will be removed.

Definition at line 122 of file depends.h.

## Field Documentation

enum transactionElement_s::rpmTransactionType transactionElement_s::type

Package disposition (installed/removed).

Referenced by removePackage(), rpmRunTransactions(), rpmtransAddPackage(), and rpmtransGetKeys().

int transactionElement_s::addedIndex

Definition at line 127 of file depends.h.

Referenced by rpmRunTransactions(), rpmtransAddPackage(), rpmtransGetKeys(), and tsGetAlp().

int transactionElement_s::dboffset

Definition at line 129 of file depends.h.

int transactionElement_s::dependsOnIndex

Definition at line 130 of file depends.h.

struct { ... } transactionElement_s::removed

Referenced by removePackage(), and rpmRunTransactions().

union { ... } transactionElement_s::u

Referenced by removePackage(), rpmRunTransactions(), rpmtransAddPackage(), rpmtransGetKeys(), and tsGetAlp().

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

- lib/depends.h