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

# availablePackage Struct Reference
[RPMDEP.]

`#include <depends.h>`

## Data Fields
Header | h
const char * | name
const char * | version
const char * | release
const char ** | provides
const char ** | providesEVR
int * | provideFlags
const char ** | requires
const char ** | requiresEVR
int * | requireFlags
const char ** | baseNames
int_32 * | epoch
int | providesCount
int | requiresCount
int | filesCount
availablePackage * | parent
int | degree
int | depth
int | npreds
int | tree
tsortInfo_s | tsi
uint_32 | multiLib
const void * | key
rpmRelocation * | relocs
FD_t | fd

## Detailed Description

Info about a single package to be installed.

Definition at line 35 of file depends.h.

## Field Documentation

const char** availablePackage::baseNames

| Header file basenames. Definition at line 46 of file depends.h. Referenced by alAddPackage(), and alFree().

int availablePackage::degree

| No. of immediate children. Definition at line 53 of file depends.h. Referenced by rpmdepOrder().

int availablePackage::depth

| Max. depth in dependency tree. Definition at line 54 of file depends.h. Referenced by addRelation(), alAddPackage(), and rpmdepOrder().

int_32* availablePackage::epoch

| Header epoch (if any). Definition at line 47 of file depends.h. Referenced by alAddPackage().

FD_t availablePackage::fd

| Definition at line 62 of file depends.h. Referenced by alAddPackage(), alFree(), psmStage(), and rpmRunTransactions().

int availablePackage::filesCount

| No. of files in header. Definition at line 50 of file depends.h. Referenced by alAddPackage(), and rpmRunTransactions().

Header availablePackage::h

| Package header. Definition at line 36 of file depends.h. Referenced by alAddPackage(), alFree(), handleOverlappedFiles(), rpmdepCheck(), and rpmRunTransactions().

const void* availablePackage::key

| Private data associated with a package (e.g. file name of package). Definition at line 60 of file depends.h. Referenced by alAddPackage(), checkPackageDeps(), fsmSetup(), fsmStage(), psmStage(), rpmRunTransactions(), rpmtransGetKeys(), and writeFile().

uint_32 availablePackage::multiLib

| Definition at line 59 of file depends.h. Referenced by alAddPackage(), alAllFileSatisfiesDepend(), alMakeIndex(), rpmdepCheck(), rpmRunTransactions(), and rpmtransAddPackage().

const char* availablePackage::name

| Header name. Definition at line 37 of file depends.h. Referenced by alAddPackage(), rpmdepCheck(), rpmdepOrder(), and rpmRunTransactions().

int availablePackage::npreds

| No. of predecessors. Definition at line 55 of file depends.h. Referenced by alAddPackage(), and rpmdepOrder().

struct availablePackage* availablePackage::parent

| Parent package. Definition at line 52 of file depends.h. Referenced by rpmdepOrder().

int* availablePackage::provideFlags

| Provides: logical range qualifiers. Definition at line 42 of file depends.h. Referenced by alAddPackage(), alAllSatisfiesDepend(), and alMakeIndex().

const char** availablePackage::provides

| Provides: name strings. Definition at line 40 of file depends.h. Referenced by alAddPackage(), alAllSatisfiesDepend(), alFree(), alMakeIndex(), and rpmdepCheck().

int availablePackage::providesCount

| No. of Provide:'s in header. Definition at line 48 of file depends.h. Referenced by alAddPackage(), alMakeIndex(), and rpmdepCheck().

const char** availablePackage::providesEVR

| Provides: [epoch:]version[-release] strings. Definition at line 41 of file depends.h. Referenced by alAddPackage(), alAllSatisfiesDepend(), and alFree().

const char* availablePackage::release

| Header release. Definition at line 39 of file depends.h. Referenced by alAddPackage(), rpmdepCheck(), rpmdepOrder(), and rpmRunTransactions().

rpmRelocation* availablePackage::relocs

| Definition at line 61 of file depends.h. Referenced by alAddPackage(), and alFree().

int* availablePackage::requireFlags

| Requires: logical range qualifiers. Definition at line 45 of file depends.h. Referenced by alAddPackage(), and rpmdepOrder().

const char** availablePackage::requires

| Requires: name strings. Definition at line 43 of file depends.h. Referenced by alAddPackage(), and alFree().

int availablePackage::requiresCount

| No. of Require:'s in header. Definition at line 49 of file depends.h. Referenced by alAddPackage(), and rpmdepOrder().

const char** availablePackage::requiresEVR

| Requires: [epoch:]version[-release] strings. Definition at line 44 of file depends.h. Referenced by alAddPackage(), and alFree().

int availablePackage::tree

| Tree index. Definition at line 56 of file depends.h. Referenced by rpmdepOrder().

struct tsortInfo_s availablePackage::tsi

| Dependency tsort data. Definition at line 57 of file depends.h. Referenced by addQ(), addRelation(), alAddPackage(), alFree(), markLoop(), and rpmdepOrder().

const char* availablePackage::version

| Header version. Definition at line 38 of file depends.h. Referenced by alAddPackage(), rpmdepCheck(), rpmdepOrder(), and rpmRunTransactions().

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

- lib/depends.h