index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-12-22 15:11:39 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-12-24 11:19:30 +1000 |
commit | 1f1e53c208cfa0e284511470acb679fe10c4d80c (patch) | |
tree | cfb91aa4ac252813f46e2b5db821a41e523c6c7d /lib/libalpm/alpm.h | |
parent | 9f527d2de453b542293e24d85ee894fa6452259a (diff) |
-rw-r--r-- | lib/libalpm/alpm.h | 6 |
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index e6ef3ae3..91b94615 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -1101,6 +1101,12 @@ int alpm_pkg_should_ignore(alpm_handle_t *handle, alpm_pkg_t *pkg); */ const char *alpm_pkg_get_filename(alpm_pkg_t *pkg); +/** Returns the package base name. + * @param pkg a pointer to package + * @return a reference to an internal string + */ +const char *alpm_pkg_get_base(alpm_pkg_t *pkg); + /** Returns the package name. * @param pkg a pointer to package * @return a reference to an internal string |