From 2b41f421fd14cb2190b43dbf079c734e7024335c Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 18 Aug 2010 18:13:42 +0200 Subject: s3-idmap: only include idmap headers where needed. Guenther --- source3/lib/idmap_cache.c | 1 + source3/lib/idmap_cache.h | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 source3/lib/idmap_cache.h (limited to 'source3/lib') diff --git a/source3/lib/idmap_cache.c b/source3/lib/idmap_cache.c index 6377635a65..bf72d91efe 100644 --- a/source3/lib/idmap_cache.c +++ b/source3/lib/idmap_cache.c @@ -18,6 +18,7 @@ along with this program. If not, see .*/ #include "includes.h" +#include "idmap_cache.h" /** * Find a sid2uid mapping diff --git a/source3/lib/idmap_cache.h b/source3/lib/idmap_cache.h new file mode 100644 index 0000000000..f511780672 --- /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); -- cgit