diff options
author | Volker Lendecke <vl@samba.org> | 2009-08-15 11:21:16 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-08-16 10:38:24 +0200 |
commit | e54503e82fdbb337b4de9c5aaef252edb2e11e39 (patch) | |
tree | d998e8b10b15f3da805631ff6fa6813e775dca4c /source3/winbindd/winbindd_proto.h | |
parent | 1d110e0ef6efa030a65465291f2b8c7874fed1fb (diff) | |
download | samba-e54503e82fdbb337b4de9c5aaef252edb2e11e39.tar.gz samba-e54503e82fdbb337b4de9c5aaef252edb2e11e39.tar.bz2 samba-e54503e82fdbb337b4de9c5aaef252edb2e11e39.zip |
s3:winbind: Add async wb_seqnums
This is something that would have been very difficult with the old style of
async requests: Send the request to all children simultaneously.
Diffstat (limited to 'source3/winbindd/winbindd_proto.h')
-rw-r--r-- | source3/winbindd/winbindd_proto.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h index 1638b0be62..a144c99c80 100644 --- a/source3/winbindd/winbindd_proto.h +++ b/source3/winbindd/winbindd_proto.h @@ -772,5 +772,10 @@ struct tevent_req *wb_seqnum_send(TALLOC_CTX *mem_ctx, struct winbindd_domain *domain); NTSTATUS wb_seqnum_recv(struct tevent_req *req, uint32_t *seqnum); +struct tevent_req *wb_seqnums_send(TALLOC_CTX *mem_ctx, + struct tevent_context *ev); +NTSTATUS wb_seqnums_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, + int *num_domains, struct winbindd_domain ***domains, + NTSTATUS **stati, uint32_t **seqnums); #endif /* _WINBINDD_PROTO_H_ */ |