mirror of
https://github.com/samba-team/samba.git
synced 2025-07-21 12:59:09 +03:00
s4:ldap_server: add call->wait_send/recv infrastructure
If it is set by the dispatch functions, the core server will use call->wait_send() and wait for it to finally return frim call->wait_recv() before it asks for the next incoming pdu. This can be used to implement bind as async operations. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
4c9eeb0d3e
commit
900ab851a7
@ -73,6 +73,12 @@ struct ldapsrv_call {
|
||||
} *replies;
|
||||
struct iovec out_iov;
|
||||
|
||||
struct tevent_req *(*wait_send)(TALLOC_CTX *mem_ctx,
|
||||
struct tevent_context *ev,
|
||||
void *private_data);
|
||||
NTSTATUS (*wait_recv)(struct tevent_req *req);
|
||||
void *wait_private;
|
||||
|
||||
struct tevent_req *(*postprocess_send)(TALLOC_CTX *mem_ctx,
|
||||
struct tevent_context *ev,
|
||||
void *private_data);
|
||||
|
Reference in New Issue
Block a user