summaryrefslogtreecommitdiff
path: root/nsswitch/libwbclient/wbc_async.h
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2009-04-02 09:22:43 +0200
committerKai Blin <kai@samba.org>2010-02-11 23:56:34 +0100
commitada6e26d5e6bacaacbe9cdebdabe41c383e5f8c8 (patch)
treeb0f7e34db548065affc51842cd0accb3e351bce1 /nsswitch/libwbclient/wbc_async.h
parent446b4aa17c03993a0fa0c77bd7e8bdec938be991 (diff)
downloadsamba-ada6e26d5e6bacaacbe9cdebdabe41c383e5f8c8.tar.gz
samba-ada6e26d5e6bacaacbe9cdebdabe41c383e5f8c8.tar.bz2
samba-ada6e26d5e6bacaacbe9cdebdabe41c383e5f8c8.zip
libwbclient: Implement wbcSidToGid_send/recv
Diffstat (limited to 'nsswitch/libwbclient/wbc_async.h')
-rw-r--r--nsswitch/libwbclient/wbc_async.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/nsswitch/libwbclient/wbc_async.h b/nsswitch/libwbclient/wbc_async.h
index 043b303632..eb8798ebc6 100644
--- a/nsswitch/libwbclient/wbc_async.h
+++ b/nsswitch/libwbclient/wbc_async.h
@@ -106,6 +106,12 @@ struct tevent_req *wbcUidToSid_send(TALLOC_CTX *mem_ctx,
uid_t uid);
wbcErr wbcUidToSid_recv(struct tevent_req *req, struct wbcDomainSid *psid);
+struct tevent_req *wbcSidToGid_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ struct wb_context *wb_ctx,
+ const struct wbcDomainSid *sid);
+wbcErr wbcSidToGid_recv(struct tevent_req *req, gid_t *pgid);
+
/* Async functions from wbc_util.c */
struct tevent_req *wbcPing_send(TALLOC_CTX *mem_ctx,