From c3ef027218fe9a7d16a70ca9d2f53e3d995e369f Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 3 Jan 2012 00:43:58 -0500 Subject: nsssrv: add handling of memory cache group map --- src/util/mmap_cache.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/util') diff --git a/src/util/mmap_cache.h b/src/util/mmap_cache.h index 0a4044a71..b3dac6ee2 100644 --- a/src/util/mmap_cache.h +++ b/src/util/mmap_cache.h @@ -111,6 +111,16 @@ struct sss_mc_pwd_data { * string is zero terminated ordered as follows: * name, passwd, gecos, dir, shell */ }; + +struct sss_mc_grp_data { + rel_ptr_t name; /* ptr to name string, rel. to struct base addr */ + uint32_t gid; + uint32_t members; /* number of members in strs */ + uint32_t strs_len; /* length of strs */ + char strs[0]; /* concatenation of all group strings, each + * string is zero terminated ordered as follows: + * name, passwd, member1, member2, ... */ +}; #pragma pack() -- cgit