summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-07-03 23:12:22 +0200
committerVolker Lendecke <vl@samba.org>2008-07-05 12:19:13 +0200
commit0234276af848343ba13332de9d3f6dee0a529c0c (patch)
treec47723475edecc4d1a48b310b6dcbb9c94580242 /source3/include
parent878766c6a8677d174ee20d4d6b4ed87d903b4779 (diff)
downloadsamba-0234276af848343ba13332de9d3f6dee0a529c0c.tar.gz
Convert idmap_cache to gencache
(This used to be commit 0bf0434f22b0ea46fda3ccc4dd612adbc88dd4f2)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 85efe24a361..bb10487b545 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -10493,12 +10493,13 @@ char *idmap_fetch_secret(const char *backend, bool alloc,
/* The following definitions come from winbindd/idmap_cache.c */
-struct idmap_cache_ctx *idmap_cache_init(TALLOC_CTX *memctx);
-NTSTATUS idmap_cache_set(struct idmap_cache_ctx *cache, const struct id_map *id);
-NTSTATUS idmap_cache_set_negative_sid(struct idmap_cache_ctx *cache, const struct id_map *id);
-NTSTATUS idmap_cache_set_negative_id(struct idmap_cache_ctx *cache, const struct id_map *id);
-NTSTATUS idmap_cache_map_sid(struct idmap_cache_ctx *cache, struct id_map *id);
-NTSTATUS idmap_cache_map_id(struct idmap_cache_ctx *cache, struct id_map *id);
+NTSTATUS idmap_cache_set(const struct id_map *id);
+NTSTATUS idmap_cache_set_negative_sid(const struct id_map *id);
+NTSTATUS idmap_cache_set_negative_id(const struct id_map *id);
+bool idmap_cache_map_sid(const struct dom_sid *sid, struct unixid *xid,
+ bool *mapped, bool *expired);
+bool idmap_cache_map_id(const struct unixid *xid, struct dom_sid *psid,
+ bool *mapped, bool *expired);
/* The following definitions come from winbindd/idmap_nss.c */