4 * Copyright (c) 2002-2006 by Judd Vinet <jvinet@zeroflux.org>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
25 #define GRP_NAME_LEN 256
30 char name
[GRP_NAME_LEN
];
31 alpm_list_t
*packages
; /* List of strings */
34 #define FREEGRP(p) do { if(p) { _alpm_grp_free(p); p = NULL; } } while(0)
35 #define FREELISTGRPS(p) _FREELIST(p, _alpm_grp_free)
37 pmgrp_t
*_alpm_grp_new(void);
38 void _alpm_grp_free(void *data
);
39 int _alpm_grp_cmp(const void *g1
, const void *g2
);
41 #endif /* _ALPM_GROUP_H */
43 /* vim: set ts=2 sw=2 noet: */