summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_proto.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-08-04 07:22:34 -0400
committerVolker Lendecke <vl@samba.org>2009-08-05 03:21:20 -0400
commita5416770776c0ade8518e8875d47097662b026a6 (patch)
tree6841769c032619044cc733424c2643f6b5d2ac76 /source3/winbindd/winbindd_proto.h
parentf6554611ab90aa113a7579ce3a9fef765c19d98c (diff)
downloadsamba-a5416770776c0ade8518e8875d47097662b026a6.tar.gz
samba-a5416770776c0ade8518e8875d47097662b026a6.tar.bz2
samba-a5416770776c0ade8518e8875d47097662b026a6.zip
s3:winbind: Add async wb_lookupname
Diffstat (limited to 'source3/winbindd/winbindd_proto.h')
-rw-r--r--source3/winbindd/winbindd_proto.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h
index e76e0cde1f..2b493b2a67 100644
--- a/source3/winbindd/winbindd_proto.h
+++ b/source3/winbindd/winbindd_proto.h
@@ -624,5 +624,12 @@ struct tevent_req *winbindd_lookupsid_send(TALLOC_CTX *mem_ctx,
NTSTATUS winbindd_lookupsid_recv(struct tevent_req *req,
struct winbindd_response *response);
+struct tevent_req *wb_lookupname_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ const char *dom_name, const char *name,
+ uint32_t flags);
+NTSTATUS wb_lookupname_recv(struct tevent_req *req, struct dom_sid *sid,
+ enum lsa_SidType *type);
+
#endif /* _WINBINDD_PROTO_H_ */