#include <rpm/rpmtypes.h>
Go to the source code of this file.
Defines | |
#define | RPMAL_NOMATCH ((rpmalKey)-1L) |
Typedefs | |
typedef intptr_t | rpmalNum |
* An added/available package retrieval index. | |
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, rpmalKey pkgKey) |
Delete package from available list. | |
rpmalKey | rpmalAdd (rpmal *alistp, rpmalKey pkgKey, fnpyKey key, rpmds provides, rpmfi fi, rpm_color_t tscolor) |
Add package to available list. | |
void | rpmalAddProvides (rpmal al, rpmalKey pkgKey, rpmds provides, rpm_color_t 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, rpmalKey *keyp) |
Check added package file lists for package(s) that provide a file. | |
fnpyKey * | rpmalAllSatisfiesDepend (const rpmal al, const rpmds ds, rpmalKey *keyp) |
Check added package file lists for package(s) that have a provide. | |
fnpyKey | rpmalSatisfiesDepend (const rpmal al, const rpmds ds, rpmalKey *keyp) |
Check added package file lists for first package that has a provide. | |
Variables | |
int | _rpmal_debug |
Definition in file rpmal.h.
typedef intptr_t rpmalNum |
rpmalKey rpmalAdd | ( | rpmal * | alistp, | |
rpmalKey | pkgKey, | |||
fnpyKey | key, | |||
rpmds | provides, | |||
rpmfi | fi, | |||
rpm_color_t | 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 |
void rpmalAddProvides | ( | rpmal | al, | |
rpmalKey | pkgKey, | |||
rpmds | provides, | |||
rpm_color_t | tscolor | |||
) |
Add package provides to available list index.
al | available list | |
pkgKey | package key | |
provides | added package provides | |
tscolor | transaction color bits |
Check added package file lists for package(s) that provide a file.
al | available list | |
ds | dependency set |
keyp | added package key pointer (or NULL) |
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) |
rpmal rpmalCreate | ( | int | delta | ) |
Initialize available packckages, items, and directory list.
delta | no. of entries to add on each realloc |
Delete package from available list.
al | available list | |
pkgKey | package key |
Free available packages, items, and directory members.
al | available list |
void rpmalMakeIndex | ( | rpmal | al | ) |
Generate index for available list.
al | available list |
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) |
int _rpmal_debug |