mirror of
https://github.com/samba-team/samba.git
synced 2025-02-25 17:57:42 +03:00
librpc:core: Make dcesrv_find_endpoint public
Will be used from s3 implementation when a connection is passed to other process where a particular association group was created. Signed-off-by: Samuel Cabrero <scabrero@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Fri Oct 18 17:30:39 UTC 2019 on sn-devel-184
This commit is contained in:
parent
e10028a050
commit
50f69b6054
@ -75,7 +75,7 @@ static bool endpoints_match(const struct dcerpc_binding *ep1,
|
||||
/*
|
||||
find an endpoint in the dcesrv_context
|
||||
*/
|
||||
static NTSTATUS dcesrv_find_endpoint(struct dcesrv_context *dce_ctx,
|
||||
_PUBLIC_ NTSTATUS dcesrv_find_endpoint(struct dcesrv_context *dce_ctx,
|
||||
const struct dcerpc_binding *ep_description,
|
||||
struct dcesrv_endpoint **_out)
|
||||
{
|
||||
|
@ -595,6 +595,9 @@ _PUBLIC_ NTSTATUS dcesrv_endpoint_connect(struct dcesrv_context *dce_ctx,
|
||||
struct tevent_context *event_ctx,
|
||||
uint32_t state_flags,
|
||||
struct dcesrv_connection **_p);
|
||||
_PUBLIC_ NTSTATUS dcesrv_find_endpoint(struct dcesrv_context *dce_ctx,
|
||||
const struct dcerpc_binding *ep_description,
|
||||
struct dcesrv_endpoint **_out);
|
||||
|
||||
_PUBLIC_ void dcesrv_terminate_connection(struct dcesrv_connection *dce_conn,
|
||||
const char *reason);
|
||||
|
Loading…
x
Reference in New Issue
Block a user