17 #define RPMAL_NOMATCH ((alKey)-1L)
44 #define rpmalUnlink(_al, _msg) \
45 ((rpmal)rpmioUnlinkPoolItem((rpmioItem)(_al), _msg, __FILE__, __LINE__))
54 rpmal
rpmalLink ( rpmal al,
const char * msg)
56 #define rpmalLink(_al, _msg) \
57 ((rpmal)rpmioLinkPoolItem((rpmioItem)(_al), _msg, __FILE__, __LINE__))
67 #define rpmalFree(_al) \
68 ((rpmal)rpmioFreePoolItem((rpmioItem)(_al), __FUNCTION__, __FILE__, __LINE__))
void rpmalAddProvides(rpmal al, alKey pkgKey, rpmds provides, rpmuint32_t tscolor)
Add package provides to available list index.
fnpyKey * rpmalAllSatisfiesDepend(const rpmal al, const rpmds ds, alKey *keyp)
Check added package file lists for package(s) that have a provide.
Structure(s) used for file info tag sets.
int alNum
An added/available package retrieval index.
rpmal rpmalNew(int delta)
Initialize available list.
struct rpmds_s * rpmds
Dependency tag sets from a header, so that a header can be discarded early.
alKey rpmalAdd(rpmal *alistp, alKey pkgKey, fnpyKey key, rpmds provides, rpmfi fi, rpmuint32_t tscolor)
Add package to available list.
struct rpmfi_s * rpmfi
File info tag sets from a header, so that a header can be discarded early.
Set of available packages, items, and directories.
Structure(s) used for dependency tag sets.
void * alKey
An added/available package retrieval key.
fnpyKey rpmalSatisfiesDepend(const rpmal al, const rpmds ds, alKey *keyp)
Check added package file lists for first package that has a provide.
#define rpmalLink(_al, _msg)
const char const bson * key
void rpmalDel(rpmal al, alKey pkgKey)
Delete package from available list.
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.
#define rpmalUnlink(_al, _msg)