shithub: ext4srv

ref: 2654def5079f7e6dff66753c7b6c316a5610a20e
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);