s4:rpc_server: Add transport termination function pointer
authorSamuel Cabrero <scabrero@suse.de>
Thu, 24 Jan 2019 19:25:58 +0000 (20:25 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 18 Oct 2019 16:07:37 +0000 (16:07 +0000)
commit85de73354d982861cc863b4682a8043c22797faa
tree38f79bea60c1a7bdd14bc59cf3a206c016b39110
parent55ad4ae7ffcb3221675070b9cb939c29e00f25f4
s4:rpc_server: Add transport termination function pointer

As the dcesrv_terminate_connection function will be moved to the shared
rpc server core library, hide the stream_terminate_connection call behind
a function pointer.

The s3 implementation will define its own termination function.

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source4/rpc_server/dcerpc_server.c
source4/rpc_server/dcerpc_server.h