summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/alpm.h
diff options
context:
space:
mode:
authorNagy Gabor <ngaba@bibl.u-szeged.hu>2008-08-17 18:32:39 +0200
committerDan McGee <dan@archlinux.org>2008-08-23 16:44:47 +0200
commit8146f6f1c6bbd7bf642cb263ca1658234fb7e48a (patch)
tree98af0c1a3b51f99825ba09146e68817d9c0a153e /lib/libalpm/alpm.h
parentadc4078b8743a1437d44557dafea8619b1ce0fb1 (diff)
downloadpacman-8146f6f1c6bbd7bf642cb263ca1658234fb7e48a.tar.gz
pacman-8146f6f1c6bbd7bf642cb263ca1658234fb7e48a.tar.xz
New public alpm_pkg_get_db function
This function returns with the origin database of a package. Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r--lib/libalpm/alpm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index 16b48a0a..7ef02062 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -218,6 +218,7 @@ alpm_list_t *alpm_pkg_get_deltas(pmpkg_t *pkg);
alpm_list_t *alpm_pkg_get_replaces(pmpkg_t *pkg);
alpm_list_t *alpm_pkg_get_files(pmpkg_t *pkg);
alpm_list_t *alpm_pkg_get_backup(pmpkg_t *pkg);
+pmdb_t *alpm_pkg_get_db(pmpkg_t *pkg);
void *alpm_pkg_changelog_open(pmpkg_t *pkg);
size_t alpm_pkg_changelog_read(void *ptr, size_t size,
const pmpkg_t *pkg, const void *fp);