Improve marginally configuring/purging all packages by looking at its

state in the object dictionary rather than opening and externalizing
the dictionary of every package.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20090821093126-0xw980x0pqtq59q2
This commit is contained in:
Juan RP
2009-08-21 11:31:26 +02:00
parent 4aac305105
commit ecfa25833f
5 changed files with 105 additions and 56 deletions

View File

@ -68,7 +68,8 @@
#endif
/* From lib/configure.c */
int xbps_configure_pkg(const char *);
int xbps_configure_pkg(const char *, bool);
int xbps_configure_all_pkgs(void);
/* from lib/cmpver.c */
int xbps_cmpver(const char *, const char *);
@ -145,7 +146,8 @@ int xbps_remove_pkg_from_dict(prop_dictionary_t, const char *,
int xbps_remove_string_from_array(prop_array_t, const char *);
/* From lib/purge.c */
int xbps_purge_pkg(const char *);
int xbps_purge_pkg(const char *, bool);
int xbps_purge_all_pkgs(void);
/* From lib/register.c */
int xbps_register_pkg(prop_dictionary_t, bool);