s3: add functions to remove entries from idmap cache
[Samba.git] / source3 / lib / idmap_cache.h
blobaf2ba82bf8deafaa15c0e544e7826d191ee01a88
1 /* The following definitions come from lib/idmap_cache.c */
3 bool idmap_cache_find_sid2uid(const struct dom_sid *sid, uid_t *puid,
4 bool *expired);
5 bool idmap_cache_find_uid2sid(uid_t uid, struct dom_sid *sid, bool *expired);
6 void idmap_cache_set_sid2uid(const struct dom_sid *sid, uid_t uid);
7 bool idmap_cache_find_sid2gid(const struct dom_sid *sid, gid_t *pgid,
8 bool *expired);
9 bool idmap_cache_find_gid2sid(gid_t gid, struct dom_sid *sid, bool *expired);
10 void idmap_cache_set_sid2gid(const struct dom_sid *sid, gid_t gid);
12 bool idmap_cache_del_uid(uid_t uid);
13 bool idmap_cache_del_gid(gid_t gid);
14 bool idmap_cache_del_sid(const struct dom_sid *sid);