index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaron@archlinux.org> | 2006-11-20 09:10:23 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-11-20 09:10:23 +0000 |
commit | aa1c0ba9f8787fc3b1a1190103e394b0c1c95922 (patch) | |
tree | ed0c9675f7fc5da043a69b36e0b8c6c8e05cb583 /lib/libalpm/group.h | |
parent | b8b9596b13de957566211b0e1db3e473ed66e147 (diff) |
-rw-r--r-- | lib/libalpm/group.h | 11 |
diff --git a/lib/libalpm/group.h b/lib/libalpm/group.h index bb3de2a5..86562b10 100644 --- a/lib/libalpm/group.h +++ b/lib/libalpm/group.h @@ -21,18 +21,17 @@ #ifndef _ALPM_GROUP_H #define _ALPM_GROUP_H -#include "list.h" - +/* Groups */ #define GRP_NAME_LEN 256 -/* Groups structure */ -typedef struct __pmgrp_t { +#include "alpm.h" + +struct __pmgrp_t { char name[GRP_NAME_LEN]; pmlist_t *packages; /* List of strings */ -} pmgrp_t; +}; #define FREEGRP(p) do { if(p) { _alpm_grp_free(p); p = NULL; } } while(0) - #define FREELISTGRPS(p) _FREELIST(p, _alpm_grp_free) pmgrp_t *_alpm_grp_new(void); |