index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2008-01-12 01:13:52 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-03-23 14:51:51 -0500 |
commit | bf8670036907b3ede18d37b7a3f0f7e14542a5ac (patch) | |
tree | 8352859ea5c9f2b40fe1c091f1f23c3651db153a /lib/libalpm/group.h | |
parent | 90a48c771d727e3bd231eeb1611dfcbecb88490c (diff) |
-rw-r--r-- | lib/libalpm/group.h | 11 |
diff --git a/lib/libalpm/group.h b/lib/libalpm/group.h index 88fc8b32..5f8fdec4 100644 --- a/lib/libalpm/group.h +++ b/lib/libalpm/group.h @@ -19,17 +19,16 @@ #ifndef _ALPM_GROUP_H #define _ALPM_GROUP_H -/* Groups */ -#define GRP_NAME_LEN 256 - #include "alpm.h" struct __pmgrp_t { - char name[GRP_NAME_LEN]; - alpm_list_t *packages; /* List of strings */ + /** group name */ + char *name; + /** list of pmpkg_t packages */ + alpm_list_t *packages; }; -pmgrp_t *_alpm_grp_new(void); +pmgrp_t *_alpm_grp_new(const char *name); void _alpm_grp_free(pmgrp_t *grp); int _alpm_grp_cmp(const void *g1, const void *g2); |