# 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.

int availablePackage::degree

| No. of immediate children. Definition at line 53 of file depends.h.

int availablePackage::depth

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

int_32* availablePackage::epoch

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

FD_t availablePackage::fd

| Definition at line 62 of file depends.h.

int availablePackage::filesCount

| No. of files in header. Definition at line 50 of file depends.h.

Header availablePackage::h

| Package header. Definition at line 36 of file depends.h. Referenced by alAddPackage(), checkPackageDeps(), checkPackageSet(), ensureOlder(), psAppend(), rpmdepCheck(), 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(), psAppend(), and writeFile().

uint_32 availablePackage::multiLib

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

const char* availablePackage::name

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

int availablePackage::npreds

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

struct availablePackage* availablePackage::parent

| Parent package. Definition at line 52 of file depends.h.

int* availablePackage::provideFlags

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

const char** availablePackage::provides

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

int availablePackage::providesCount

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

const char** availablePackage::providesEVR

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

const char* availablePackage::release

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

rpmRelocation* availablePackage::relocs

| Definition at line 61 of file depends.h. Referenced by 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(), 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(), checkPackageDeps(), and zapRelation().

int availablePackage::tree

| Tree index. Definition at line 56 of file depends.h.

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

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

- lib/depends.h