xbps/include
Juan RP 503afdd48d libxbps: extend the API, new func: xbps_repository_pool_find_pkg.
prop_dictionary_t xbps_repository_pool_find_pkg(const char *pkg, bool bypattern, bool best)

This function iterates over the repository pool and returns a pkg
dictionary matching its pkgname if "bypattern" is false, otherwise
if "pkg" matches the pkgdep pattern. If "best" is true, it will look
in all repos and will return the newer version, otherwise the first one
that matches the arguments specified.

With this addition supporting many small registered repos is cheap, because
it checks by-package rather than by-package-list. This also helped to removed
some duplicated code and fix some rare bugs.

Bump XBPS_RELVER to 20110118.
2011-01-18 14:44:39 +01:00
..
fetch.h Merge libfetch-2.30 from NetBSD's pkgsrc. 2010-01-24 15:47:53 +01:00
mainpage.h Add infrastructure changes to build the API documentation. 2010-01-23 02:37:19 +01:00
Makefile Added a configure script to emulate GNU autoconf and related changes. 2010-05-19 22:38:27 +02:00
queue.h Some changes that will appear in 0.5.0: 2010-04-20 14:22:38 +02:00
strlcat.h Added a configure script to emulate GNU autoconf and related changes. 2010-05-19 22:38:27 +02:00
strlcpy.h Added a configure script to emulate GNU autoconf and related changes. 2010-05-19 22:38:27 +02:00
xbps_api_impl.h configure: make symbol visibility dependent in the configure test, misc changes. 2011-01-15 12:21:38 +01:00
xbps_api.h libxbps: extend the API, new func: xbps_repository_pool_find_pkg. 2011-01-18 14:44:39 +01:00