shithub: ext4srv

ref: 5929766aa488af70c827fe65e6d0fb703bfa4548
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);