From: Samuel Cabrero Date: Thu, 31 Oct 2019 13:31:37 +0000 (+0100) Subject: librpc:core: Make find_interface_by_uuid public X-Git-Tag: ldb-2.2.0~938 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=34240fd4e8e1371207e27375392e11ba846b9f23;p=thirdparty%2Fsamba.git librpc:core: Make find_interface_by_uuid public Signed-off-by: Samuel Cabrero Reviewed-by: Andrew Bartlett --- diff --git a/librpc/rpc/dcesrv_core.c b/librpc/rpc/dcesrv_core.c index 4148c3f0f1a..88838121f2f 100644 --- a/librpc/rpc/dcesrv_core.c +++ b/librpc/rpc/dcesrv_core.c @@ -147,7 +147,7 @@ static bool interface_match_by_uuid(const struct dcesrv_interface *iface, /* find the interface operations on an endpoint by uuid */ -const struct dcesrv_interface *find_interface_by_uuid(const struct dcesrv_endpoint *endpoint, +_PUBLIC_ const struct dcesrv_interface *find_interface_by_uuid(const struct dcesrv_endpoint *endpoint, const struct GUID *uuid, uint32_t if_version) { struct dcesrv_if_list *ifl; diff --git a/librpc/rpc/dcesrv_core.h b/librpc/rpc/dcesrv_core.h index 161ed1a9691..3f2b7676e8d 100644 --- a/librpc/rpc/dcesrv_core.h +++ b/librpc/rpc/dcesrv_core.h @@ -624,6 +624,9 @@ _PUBLIC_ void dcesrv_sock_report_output_data(struct dcesrv_connection *dce_conn) _PUBLIC_ NTSTATUS dcesrv_connection_loop_start(struct dcesrv_connection *conn); +_PUBLIC_ const struct dcesrv_interface *find_interface_by_uuid( + const struct dcesrv_endpoint *endpoint, + const struct GUID *uuid, uint32_t if_version); void _dcesrv_save_ndr_fuzz_seed(DATA_BLOB call_blob, struct dcesrv_call_state *call,