shithub: ext4srv

ref: 46f57aba13e43e6ec3c84d6123c6bc59546e4b7d
dir: /group.h/

View raw version
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);