Go to the source code of this file.
Typedefs | |
typedef struct rpmal_s * | rpmal |
Functions | |
rpmal | rpmalCreate (int delta) |
Initialize available packckages, items, and directory list. | |
rpmal | rpmalFree (rpmal al) |
Free available packages, items, and directory members. | |
void | rpmalDel (rpmal al, alKey pkgKey) |
Delete package from available list. | |
alKey | rpmalAdd (rpmal *alistp, alKey pkgKey, fnpyKey key, rpmds provides, rpmfi fi, uint_32 tscolor) |
Add package to available list. | |
void | rpmalAddProvides (rpmal al, alKey pkgKey, rpmds provides, uint_32 tscolor) |
Add package provides to available list index. | |
void | rpmalMakeIndex (rpmal al) |
Generate index for available list. | |
fnpyKey * | rpmalAllFileSatisfiesDepend (const rpmal al, const rpmds ds, alKey *keyp) |
Check added package file lists for package(s) that provide a file. | |
fnpyKey * | rpmalAllSatisfiesDepend (const rpmal al, const rpmds ds, alKey *keyp) |
Check added package file lists for package(s) that have a provide. | |
fnpyKey | rpmalSatisfiesDepend (const rpmal al, const rpmds ds, alKey *keyp) |
Check added package file lists for first package that has a provide. | |
Variables | |
int | _rpmal_debug |
Definition in file rpmal.h.
alKey rpmalAdd | ( | rpmal * | alistp, | |
alKey | pkgKey, | |||
fnpyKey | key, | |||
rpmds | provides, | |||
rpmfi | fi, | |||
uint_32 | tscolor | |||
) |
Add package to available list.
alistp | address of available list | |
pkgKey | package key, RPMAL_NOMATCH to force an append | |
key | associated file name/python object | |
provides | provides dependency set | |
fi | file info set | |
tscolor | transaction color bits |
Definition at line 414 of file rpmal.c.
Referenced by rpmal_Add(), rpmtsAddAvailableElement(), and rpmtsAddInstallElement().
Add package provides to available list index.
al | available list | |
pkgKey | package key | |
provides | added package provides | |
tscolor | transaction color bits |
Definition at line 619 of file rpmal.c.
Referenced by rpmal_AddProvides().
Check added package file lists for package(s) that have a provide.
al | available list | |
ds | dependency set |
keyp | added package key pointer (or NULL) |
Definition at line 791 of file rpmal.c.
Referenced by rpmtsAvailable().
rpmal rpmalCreate | ( | int | delta | ) |
Delete package from available list.
al | available list | |
pkgKey | package key |
Definition at line 292 of file rpmal.c.
Referenced by rpmal_Del().
Free available packages, items, and directory members.
al | available list |
Definition at line 202 of file rpmal.c.
Referenced by rpmal_dealloc(), rpmtsClean(), and rpmtsFree().
void rpmalMakeIndex | ( | rpmal | al | ) |
Generate index for available list.
al | available list |
Definition at line 660 of file rpmal.c.
Referenced by rpmal_MakeIndex(), rpmts_Check(), rpmtsOrder(), and unsatisfiedDepend().
Check added package file lists for first package that has a provide.
al | available list | |
ds | dependency set |
keyp | added package key pointer (or NULL) |
Definition at line 879 of file rpmal.c.
Referenced by unsatisfiedDepend().
int _rpmal_debug |