Rename xbps_find_orphan_packages() to xbps_find_pkg_orphans().

This commit is contained in:
Juan RP 2011-01-27 12:19:05 +01:00
parent 41341af135
commit 628a6cebf7
4 changed files with 5 additions and 5 deletions

View File

@ -118,7 +118,7 @@ show_orphans(void)
prop_object_t obj; prop_object_t obj;
const char *pkgver; const char *pkgver;
orphans = xbps_find_orphan_packages(); orphans = xbps_find_pkg_orphans();
if (orphans == NULL) if (orphans == NULL)
return EINVAL; return EINVAL;

View File

@ -74,7 +74,7 @@ xbps_autoremove_pkgs(bool yes, bool purge)
* as dependency and any installed package does not depend * as dependency and any installed package does not depend
* on it currently. * on it currently.
*/ */
orphans = xbps_find_orphan_packages(); orphans = xbps_find_pkg_orphans();
if (orphans == NULL) if (orphans == NULL)
return errno; return errno;

View File

@ -303,7 +303,7 @@ const char *xbps_fetch_error_string(void);
* @return A proplib array of dictionaries with all orphans found, * @return A proplib array of dictionaries with all orphans found,
* on error NULL is returned and errno is set appropiately. * on error NULL is returned and errno is set appropiately.
*/ */
prop_array_t xbps_find_orphan_packages(void); prop_array_t xbps_find_pkg_orphans(void);
/** /**
* @ingroup vermatch * @ingroup vermatch

View File

@ -43,7 +43,7 @@
* but currently no other packages are depending on. * but currently no other packages are depending on.
* *
* The following image shown below shows the registered packages database * The following image shown below shows the registered packages database
* dictionary (the array returned by xbps_find_orphan_packages() will * dictionary (the array returned by xbps_find_pkg_orphans() will
* contain a package dictionary per orphan found): * contain a package dictionary per orphan found):
* *
* @image html images/xbps_regpkgdb_dictionary.png * @image html images/xbps_regpkgdb_dictionary.png
@ -133,7 +133,7 @@ find_orphan_pkg(prop_object_t obj, void *arg, bool *loop_done)
} }
prop_array_t prop_array_t
xbps_find_orphan_packages(void) xbps_find_pkg_orphans(void)
{ {
prop_array_t array; prop_array_t array;
prop_dictionary_t dict; prop_dictionary_t dict;