summaryrefslogtreecommitdiff
path: root/nsswitch/libwbclient/wbc_async.h
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2009-04-02 09:57:40 +0200
committerKai Blin <kai@samba.org>2010-02-11 23:56:34 +0100
commit446b4aa17c03993a0fa0c77bd7e8bdec938be991 (patch)
treed808966f3f5d437b3f4a528e4a88e46a277796ea /nsswitch/libwbclient/wbc_async.h
parent4ff1906357659a040aa90bcd51dd1974ec405001 (diff)
downloadsamba-446b4aa17c03993a0fa0c77bd7e8bdec938be991.tar.gz
samba-446b4aa17c03993a0fa0c77bd7e8bdec938be991.tar.bz2
samba-446b4aa17c03993a0fa0c77bd7e8bdec938be991.zip
libwbclient: Implement wbcUidToSid_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 6e90ad722c..043b303632 100644
--- a/nsswitch/libwbclient/wbc_async.h
+++ b/nsswitch/libwbclient/wbc_async.h
@@ -100,6 +100,12 @@ struct tevent_req *wbcSidToUid_send(TALLOC_CTX *mem_ctx,
const struct wbcDomainSid *sid);
wbcErr wbcSidToUid_recv(struct tevent_req *req, uid_t *puid);
+struct tevent_req *wbcUidToSid_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ struct wb_context *wb_ctx,
+ uid_t uid);
+wbcErr wbcUidToSid_recv(struct tevent_req *req, struct wbcDomainSid *psid);
+
/* Async functions from wbc_util.c */
struct tevent_req *wbcPing_send(TALLOC_CTX *mem_ctx,