# availablePackage Struct Reference
[RPMDEP.]

Info about a single package to be installed. More...

`#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 alFree(), and rpmdepCheck().

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

int availablePackage::filesCount

No. of files in header.

Definition at line 50 of file depends.h.

Referenced by rpmRunTransactions().

Header availablePackage::h

Package header.

Definition at line 36 of file depends.h.

Referenced by alAddPackage(), alFree(), checkPackageDeps(), checkPackageSet(), ensureOlder(), handleOverlappedFiles(), psAppend(), rpmdepCheck(), rpmRunTransactions(), rpmtransAvailablePackage(), and unsatisfiedDepend().

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 checkPackageDeps(), fsmSetup(), fsmStage(), psAppend(), and writeFile().

uint_32 availablePackage::multiLib

Definition at line 59 of file depends.h.

Referenced by alAddPackage(), alAllFileSatisfiesDepend(), alMakeIndex(), relocateFileList(), rpmdepCheck(), and rpmRunTransactions().

const char* availablePackage::name

Header name.

Definition at line 37 of file depends.h.

Referenced by alAddPackage(), ignoreDep(), psAppend(), rpmdepCheck(), rpmdepOrder(), rpmRunTransactions(), and zapRelation().

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(), checkPackageDeps(), psAppend(), rpmdepCheck(), rpmdepOrder(), rpmRunTransactions(), and zapRelation().

rpmRelocation* availablePackage::relocs

Definition at line 61 of file depends.h.

Referenced by alFree(), and relocateFileList().

int* availablePackage::requireFlags

Requires: logical range qualifiers.

Definition at line 45 of file depends.h.

Referenced by addRelation(), checkPackageDeps(), rpmdepOrder(), and zapRelation().

const char** availablePackage::requires

Requires: name strings.

Definition at line 43 of file depends.h.

Referenced by addRelation(), alFree(), checkPackageDeps(), and zapRelation().

int availablePackage::requiresCount

No. of Require:'s in header.

Definition at line 49 of file depends.h.

Referenced by checkPackageDeps(), and rpmdepOrder().

const char** availablePackage::requiresEVR

Requires: [epoch:]version[-release] strings.

Definition at line 44 of file depends.h.

Referenced by addRelation(), alFree(), checkPackageDeps(), and zapRelation().

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(), rpmdepOrder(), and zapRelation().

const char* availablePackage::version

Header version.

Definition at line 38 of file depends.h.

Referenced by alAddPackage(), checkPackageDeps(), psAppend(), rpmdepCheck(), rpmdepOrder(), rpmRunTransactions(), and zapRelation().

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

- lib/depends.h