librpc/rpc: make the dcerpc_binding_handle_raw_call_send/recv() wrapper more thin
authorStefan Metzmacher <metze@samba.org>
Fri, 30 Aug 2013 09:56:18 +0000 (11:56 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 4 Jun 2019 11:14:55 +0000 (13:14 +0200)
commit49a4dcd7c34211aecc8a86ff37b6952c5bd8b017
treef5e86dccb914a5b417e11d2f19847fb87581f222
parent21ce2851aedb1c24933d98501efaf0f679f0351c
librpc/rpc: make the dcerpc_binding_handle_raw_call_send/recv() wrapper more thin

The allows better passthrough to the ops->raw_call_send/recv functions.

The important change is that the ops->raw_call_recv() function is deferred to
the dcerpc_binding_handle_raw_call_recv() function, which means
that 'req' and 'subreq' have the same lifetime.
This will be important in the following commits, which will add
dcerpc_binding_handle_raw_call_in_send/recv and LIBNDR_FLAG_INCOMPLETE_BUFFER
support for DCERPC pipes.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
librpc/rpc/binding_handle.c