summaryrefslogtreecommitdiff
path: root/nsswitch/libwbclient/wbc_async.h
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2009-04-24 16:24:56 +0200
committerKai Blin <kai@samba.org>2010-02-11 23:56:34 +0100
commit749fb039719e60d82c496a2e1587bfa32d0360b8 (patch)
treebdfea1f54914b4dbf5b1b82ef17f6bc5eb12457b /nsswitch/libwbclient/wbc_async.h
parent57886720bb1a0e93d8903a0fa677f3820fa3cb07 (diff)
downloadsamba-749fb039719e60d82c496a2e1587bfa32d0360b8.tar.gz
samba-749fb039719e60d82c496a2e1587bfa32d0360b8.tar.bz2
samba-749fb039719e60d82c496a2e1587bfa32d0360b8.zip
libwbclient: Implement wbcLookupSid_send/recv
Diffstat (limited to 'nsswitch/libwbclient/wbc_async.h')
-rw-r--r--nsswitch/libwbclient/wbc_async.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/nsswitch/libwbclient/wbc_async.h b/nsswitch/libwbclient/wbc_async.h
index a1f2e29831..21a45741b7 100644
--- a/nsswitch/libwbclient/wbc_async.h
+++ b/nsswitch/libwbclient/wbc_async.h
@@ -118,6 +118,17 @@ struct tevent_req *wbcGidToSid_send(TALLOC_CTX *mem_ctx,
gid_t gid);
wbcErr wbcGidToSid_recv(struct tevent_req *req, struct wbcDomainSid *psid);
+/* Async functions from wbc_sid.c */
+struct tevent_req *wbcLookupSid_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ struct wb_context *wb_ctx,
+ const struct wbcDomainSid *sid);
+wbcErr wbcLookupSid_recv(struct tevent_req *req,
+ TALLOC_CTX *mem_ctx,
+ char **pdomain,
+ char **pname,
+ enum wbcSidType *pname_type);
+
/* Async functions from wbc_util.c */
struct tevent_req *wbcPing_send(TALLOC_CTX *mem_ctx,