r2100: rework the dcerpc client side library so that it is async. We now
authorAndrew Tridgell <tridge@samba.org>
Mon, 30 Aug 2004 03:10:43 +0000 (03:10 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:58:24 +0000 (12:58 -0500)
commite7f36ff1a5ec909573ef398d215608e7c9aa71fe
tree8874e1dbc422a02631e48c772dc8749f255819aa
parent18bbab726884725ccf2f3264223866194855f320
r2100: rework the dcerpc client side library so that it is async. We now
generate a separate *_send() async function for every RPC call, and
there is a single dcerpc_ndr_request_recv() call that processes the
receive side of any rpc call. The caller can use
dcerpc_event_context() to get a pointer to the event context for the
pipe so that events can be waited for asynchronously.

The only part that remains synchronous is the initial bind
calls. These could also be made async if necessary, although I suspect
most applications won't need them to be.
(This used to be commit f5d004d8eb8c76c03342cace1976b27266cfa1f0)
14 files changed:
source4/build/pidl/client.pm
source4/lib/events.c
source4/librpc/ndr/ndr.c
source4/librpc/rpc/dcerpc.c
source4/librpc/rpc/dcerpc.h
source4/librpc/rpc/dcerpc_auth.c
source4/librpc/rpc/dcerpc_error.c
source4/librpc/rpc/dcerpc_schannel.c
source4/librpc/rpc/dcerpc_smb.c
source4/librpc/rpc/dcerpc_tcp.c
source4/librpc/rpc/dcerpc_util.c
source4/torture/rpc/drsuapi.c
source4/torture/rpc/epmapper.c
source4/torture/rpc/testjoin.c