summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm.h
diff options
context:
space:
mode:
authorXavier Chantry <chantry.xavier@gmail.com>2010-10-17 00:59:53 +0200
committerXavier Chantry <chantry.xavier@gmail.com>2011-01-29 19:33:16 +0100
commit1767a569c65ad1067eac7dcd1d9665e55767e50e (patch)
tree01bbdc29ba04a114e313167f7425957cc98e110f /lib/libalpm/alpm.h
parentfb7e1b4b9bf7d2dbcd89a4832067d89a03d71056 (diff)
downloadpacman-1767a569c65ad1067eac7dcd1d9665e55767e50e.tar.xz
alpm: add alpm_find_grp_pkgs
This group function is meant to help group handling from frontend : it scans all dbs, handling ignored packages and duplicate members (the first repo where a member is found has the priority). Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com>
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 2f52f075..606610e7 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -255,6 +255,7 @@ off_t alpm_delta_get_size(pmdelta_t *delta);
*/
const char *alpm_grp_get_name(const pmgrp_t *grp);
alpm_list_t *alpm_grp_get_pkgs(const pmgrp_t *grp);
+alpm_list_t *alpm_find_grp_pkgs(alpm_list_t *dbs, const char *name);
/*
* Sync