librpc:core: Add a function to reinitialize the dcesrv_context
authorSamuel Cabrero <scabrero@samba.org>
Tue, 1 Oct 2019 14:59:07 +0000 (16:59 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 12 Dec 2019 00:35:30 +0000 (00:35 +0000)
commit79af978c815e6ad94797742c8755f4fe8142160e
treef859510e239a753621d5d104fcd702656e5a3cf8
parent90eb485cf9d8eaecfab31044e52e8f41b3a51452
librpc:core: Add a function to reinitialize the dcesrv_context

Clears all registered endpoints and interfaces, association groups and
broken connections.

To be used by S3 forked daemons.

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
librpc/rpc/dcesrv_core.c
librpc/rpc/dcesrv_core.h