---
name: "libalpm_groups"
section: "3"
platform: "linux"
package: "pacman"
version: "7.1.0.r9.g54d9411-3"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libalpm_groups"
---

# libalpm\_groups(3)

Groups - Functions for package groups

## NAME

libalpm\_groups - Groups

 \- Functions for package groups

## SYNOPSIS

### Data Structures

struct **alpm\_group\_t**\
 Package group.

### Functions

**alpm\_list\_t** \* **alpm\_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

## struct alpm\_group\_t

Package group.

**Data Fields:**

char \* *name* group name \

**alpm\_list\_t** \* *packages* list of **alpm\_pkg\_t** packages \

## Function Documentation

### 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**

*dbs* the list of **alpm\_db\_t** \* \
 *name* the name of the group

**Returns**

the list of **alpm\_pkg\_t** \* (caller is responsible for alpm\_list\_free)

References **alpm\_find\_group\_pkgs()**.

Referenced by **alpm\_find\_group\_pkgs()**.

## Author

Generated automatically by Doxygen for libalpm from the source code.
