diff options
author | Samuel Cabrero <scabrero@samba.org> | 2019-10-03 19:46:59 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-10-18 16:07:38 +0000 |
commit | 08c663828c9482767b5128820f8204fd0fe4654e (patch) | |
tree | 58f47fd6fc827dfdbb370a78f0d84372b49046ef /librpc | |
parent | 73948df2f1a5dbef0f073933be549e4320013913 (diff) | |
download | samba-08c663828c9482767b5128820f8204fd0fe4654e.tar.gz |
librpc:core: Rename find_endpoint to dcesrv_find_endpoint
This function will be public and available for s3 and s4 implementations.
Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r-- | librpc/rpc/dcesrv_core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/librpc/rpc/dcesrv_core.c b/librpc/rpc/dcesrv_core.c index bbb52a5bb43..9de64126bb9 100644 --- a/librpc/rpc/dcesrv_core.c +++ b/librpc/rpc/dcesrv_core.c @@ -75,8 +75,8 @@ static bool endpoints_match(const struct dcerpc_binding *ep1, /* find an endpoint in the dcesrv_context */ -static struct dcesrv_endpoint *find_endpoint(struct dcesrv_context *dce_ctx, - const struct dcerpc_binding *ep_description) +static struct dcesrv_endpoint *dcesrv_find_endpoint(struct dcesrv_context *dce_ctx, + const struct dcerpc_binding *ep_description) { struct dcesrv_endpoint *ep; for (ep=dce_ctx->endpoint_list; ep; ep=ep->next) { @@ -281,7 +281,7 @@ _PUBLIC_ NTSTATUS dcesrv_interface_register(struct dcesrv_context *dce_ctx, /* check if this endpoint exists */ - ep = find_endpoint(dce_ctx, binding); + ep = dcesrv_find_endpoint(dce_ctx, binding); if (ep != NULL) { /* |