diff options
author | Simo Sorce <simo@redhat.com> | 2012-01-03 00:43:58 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-03-19 09:45:25 -0400 |
commit | c3ef027218fe9a7d16a70ca9d2f53e3d995e369f (patch) | |
tree | 4bb77a6725d882a17c6583d5efeadde12715f5b5 /src/util | |
parent | 1171986bdc3011555c5b62a9d9ee9f7481f48cdc (diff) | |
download | sssd-c3ef027218fe9a7d16a70ca9d2f53e3d995e369f.tar.gz sssd-c3ef027218fe9a7d16a70ca9d2f53e3d995e369f.tar.bz2 sssd-c3ef027218fe9a7d16a70ca9d2f53e3d995e369f.zip |
nsssrv: add handling of memory cache group map
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/mmap_cache.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/util/mmap_cache.h b/src/util/mmap_cache.h index 0a4044a7..b3dac6ee 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() |