diff options
author | Günther Deschner <gd@samba.org> | 2010-08-18 18:13:42 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-08-26 00:20:29 +0200 |
commit | 2b41f421fd14cb2190b43dbf079c734e7024335c (patch) | |
tree | 7def17821ed402c12e059f96780e835a08c88f87 /source3/lib/idmap_cache.h | |
parent | 3ef531ec34dc709479005b00f50d1daf8e65269a (diff) | |
download | samba-2b41f421fd14cb2190b43dbf079c734e7024335c.tar.gz |
s3-idmap: only include idmap headers where needed.
Guenther
Diffstat (limited to 'source3/lib/idmap_cache.h')
-rw-r--r-- | source3/lib/idmap_cache.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/lib/idmap_cache.h b/source3/lib/idmap_cache.h new file mode 100644 index 00000000000..f511780672c --- /dev/null +++ b/source3/lib/idmap_cache.h @@ -0,0 +1,10 @@ +/* The following definitions come from lib/idmap_cache.c */ + +bool idmap_cache_find_sid2uid(const struct dom_sid *sid, uid_t *puid, + bool *expired); +bool idmap_cache_find_uid2sid(uid_t uid, struct dom_sid *sid, bool *expired); +void idmap_cache_set_sid2uid(const struct dom_sid *sid, uid_t uid); +bool idmap_cache_find_sid2gid(const struct dom_sid *sid, gid_t *pgid, + bool *expired); +bool idmap_cache_find_gid2sid(gid_t gid, struct dom_sid *sid, bool *expired); +void idmap_cache_set_sid2gid(const struct dom_sid *sid, gid_t gid); |