libalpm
Arch Linux Package Manager Library

Functions for package groups More...

Collaboration diagram for Groups:

Data Structures

struct  alpm_group_t
 Package group. More...
 

Functions

alpm_list_talpm_find_group_pkgs (alpm_list_t *dbs, const char *name)
 Find group members across a list of databases.
 

Detailed Description

Functions for package groups


Data Structure Documentation

◆ alpm_group_t

struct alpm_group_t

Package group.

Collaboration diagram for alpm_group_t:
Data Fields
char * name group name
alpm_list_t * packages list of alpm_pkg_t packages

Function Documentation

◆ alpm_find_group_pkgs()

alpm_list_t * alpm_find_group_pkgs ( alpm_list_t * dbs,
const char * name )

Find group members across a list of databases.

If a member exists in several databases, only the first database is used. IgnorePkg is also handled.

Parameters
dbsthe list of alpm_db_t *
namethe name of the group
Returns
the list of alpm_pkg_t * (caller is responsible for alpm_list_free)

References _, alpm_db_get_group(), alpm_list_add(), alpm_list_free(), ALPM_LOG_WARNING, alpm_pkg_find(), alpm_pkg_should_ignore(), ALPM_QUESTION_INSTALL_IGNOREPKG, ALPM_TRANS_FLAG_NEEDED, alpm_list_t::data, alpm_trans_t::flags, alpm_question_install_ignorepkg_t::install, alpm_list_t::next, alpm_group_t::packages, QUESTION, and alpm_question_install_ignorepkg_t::type.