pkgconf_cache_lookup
PKGCONF_API pkgconf_pkg_t *pkgconf_cache_lookup(pkgconf_client_t *client, const char *id);
if ((pkg = pkgconf_cache_lookup(client, name)) != NULL)