Implemented a cache to get pkg dicts from metadir.

This improves xbps-pkgdb -a marginally, but still seems to be a bit slow.
This commit is contained in:
Juan RP
2012-11-16 21:50:52 +01:00
parent 34bd49f85a
commit b0fab7a3ee
17 changed files with 139 additions and 88 deletions

View File

@ -182,6 +182,9 @@ int HIDDEN xbps_unpack_binary_pkg(struct xbps_handle *, prop_dictionary_t);
*/
void HIDDEN xbps_pkg_find_conflicts(struct xbps_handle *, prop_dictionary_t);
void HIDDEN xbps_metadir_init(struct xbps_handle *);
void HIDDEN xbps_metadir_release(struct xbps_handle *);
__END_DECLS
#endif /* !_XBPS_API_IMPL_H_ */