diff options
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r-- | lib/libalpm/alpm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index c2a069ad..6203f765 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -1358,6 +1358,12 @@ alpm_filelist_t *alpm_pkg_get_files(alpm_pkg_t *pkg); */ alpm_list_t *alpm_pkg_get_backup(alpm_pkg_t *pkg); +/** Returns the list of alternatives provided by the package + * @param pkg a pointer to package + * @return a reference to a list of char* objects + */ +alpm_list_t *alpm_pkg_get_alternatives(alpm_pkg_t *pkg); + /** Returns the database containing pkg. * Returns a pointer to the alpm_db_t structure the package is * originating from, or NULL if the package was loaded from a file. |