Make xbps_find_virtualpkg_conf_in_xxx_by_xxx part of the API and add kyua tests.

This commit is contained in:
Juan RP
2012-03-12 17:51:50 +01:00
parent 715990a1e5
commit 749e03aa29
10 changed files with 283 additions and 22 deletions

View File

@@ -159,23 +159,6 @@ int HIDDEN xbps_file_chdir_exec(const char *, const char *, ...);
*/
int HIDDEN xbps_transaction_package_replace(prop_dictionary_t);
/**
* @private
* From lib/plist_find.c
*/
prop_dictionary_t HIDDEN
xbps_find_virtualpkg_conf_in_array_by_name(prop_array_t, const char *);
prop_dictionary_t HIDDEN
xbps_find_virtualpkg_conf_in_dict_by_name(prop_dictionary_t,
const char *,
const char *);
prop_dictionary_t HIDDEN
xbps_find_virtualpkg_conf_in_array_by_pattern(prop_array_t,
const char *);
prop_dictionary_t HIDDEN
xbps_find_virtualpkg_conf_in_dict_by_pattern(prop_dictionary_t,
const char *,
const char *);
/**
* @private
* From lib/cb_util.c