summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/db.c
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-06-28 06:37:16 +0200
committerAllan McRae <allan@archlinux.org>2011-06-28 15:28:23 +0200
commit1fdbe7902219c5ed3e56b921acae4f3a58b9e76e (patch)
treed239c30128748fbb228ce8992179a8b031be1c63 /lib/libalpm/db.c
parent37b6cceed41bc22d0d9fb1fe2f274067ddd2b2cc (diff)
downloadpacman-1fdbe7902219c5ed3e56b921acae4f3a58b9e76e.tar.gz
pacman-1fdbe7902219c5ed3e56b921acae4f3a58b9e76e.tar.xz
Rename pmgrp_t to alpm_group_t
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/db.c')
-rw-r--r--lib/libalpm/db.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c
index 4c1922d9..248337a9 100644
--- a/lib/libalpm/db.c
+++ b/lib/libalpm/db.c
@@ -239,7 +239,7 @@ alpm_list_t SYMEXPORT *alpm_db_get_pkgcache(alpm_db_t *db)
}
/** Get a group entry from a package database. */
-pmgrp_t SYMEXPORT *alpm_db_readgrp(alpm_db_t *db, const char *name)
+alpm_group_t SYMEXPORT *alpm_db_readgrp(alpm_db_t *db, const char *name)
{
ASSERT(db != NULL, return NULL);
db->handle->pm_errno = 0;
@@ -595,7 +595,7 @@ static int load_grpcache(alpm_db_t *db)
for(i = alpm_pkg_get_groups(pkg); i; i = i->next) {
const char *grpname = i->data;
alpm_list_t *j;
- pmgrp_t *grp = NULL;
+ alpm_group_t *grp = NULL;
int found = 0;
/* first look through the group cache for a group with this name */
@@ -663,7 +663,7 @@ alpm_list_t *_alpm_db_get_grpcache(alpm_db_t *db)
return db->grpcache;
}
-pmgrp_t *_alpm_db_get_grpfromcache(alpm_db_t *db, const char *target)
+alpm_group_t *_alpm_db_get_grpfromcache(alpm_db_t *db, const char *target)
{
alpm_list_t *i;
@@ -672,7 +672,7 @@ pmgrp_t *_alpm_db_get_grpfromcache(alpm_db_t *db, const char *target)
}
for(i = _alpm_db_get_grpcache(db); i; i = i->next) {
- pmgrp_t *info = i->data;
+ alpm_group_t *info = i->data;
if(strcmp(info->name, target) == 0) {
return info;