ref: 12a0ed55204affb277def2a73c1769bd76105ed4
dir: /group.h/
typedef struct Group Group;
typedef struct Groups Groups;
struct Group {
u32int id;
char *name;
char **memb;
int nmemb;
};
struct Groups {
char *raw;
Group *g;
int ng;
};
int loadgroups(Groups *gs, char *raw);
void freegroups(Groups *gs);
Group *findgroup(Groups *gs, char *name, u32int *id);
Group *findgroupid(Groups *gs, u32int id);