# 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
struct availablePackage * | parent
int | degree
int | depth
int | npreds
int | tree
struct 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.

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.

const void* availablePackage::key

Private data associated with a package (e.g. file name of package).

Definition at line 60 of file depends.h.

uint_32 availablePackage::multiLib

Definition at line 59 of file depends.h.

const char* availablePackage::name

Header name.

Definition at line 37 of file depends.h.

int availablePackage::npreds

No. of predecessors.

Definition at line 55 of file depends.h.

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.

const char** availablePackage::provides

Provides: name strings.

Definition at line 40 of file depends.h.

int availablePackage::providesCount

No. of Provide:'s in header.

Definition at line 48 of file depends.h.

const char** availablePackage::providesEVR

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

Definition at line 41 of file depends.h.

const char* availablePackage::release

Header release.

Definition at line 39 of file depends.h.

rpmRelocation* availablePackage::relocs

Definition at line 61 of file depends.h.

int* availablePackage::requireFlags

Requires: logical range qualifiers.

Definition at line 45 of file depends.h.

const char** availablePackage::requires

Requires: name strings.

Definition at line 43 of file depends.h.

int availablePackage::requiresCount

No. of Require:'s in header.

Definition at line 49 of file depends.h.

const char** availablePackage::requiresEVR

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

Definition at line 44 of file depends.h.

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.

const char* availablePackage::version

Header version.

Definition at line 38 of file depends.h.

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

- lib/depends.h