summaryrefslogtreecommitdiffstats
path: root/src/pacman/package.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-08-29 06:41:17 +0200
committerDan McGee <dan@archlinux.org>2011-08-29 06:41:17 +0200
commit040083b97fab61c8afc16a1c49a8384d097c272a (patch)
tree97fb452adccf6f9f9d09356fdaae6115c878310b /src/pacman/package.h
parent3a458783a2617b7b22a756f95b5f66f3da79146f (diff)
downloadpacman-040083b97fab61c8afc16a1c49a8384d097c272a.tar.gz
pacman-040083b97fab61c8afc16a1c49a8384d097c272a.tar.xz
Allow access to package origin data
Add new alpm_pkg_get_origin() method, use it in the front end now that the enum constants are publicly available. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/package.h')
-rw-r--r--src/pacman/package.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/package.h b/src/pacman/package.h
index 4bbc2ba0..890b4fe1 100644
--- a/src/pacman/package.h
+++ b/src/pacman/package.h
@@ -22,7 +22,7 @@
#include <alpm.h>
-void dump_pkg_full(alpm_pkg_t *pkg, alpm_pkgfrom_t from, int extra);
+void dump_pkg_full(alpm_pkg_t *pkg, int extra);
void dump_pkg_backups(alpm_pkg_t *pkg);
void dump_pkg_files(alpm_pkg_t *pkg, int quiet);