]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
librpc:core: Make find_interface_by_uuid public
authorSamuel Cabrero <scabrero@suse.de>
Thu, 31 Oct 2019 13:31:37 +0000 (14:31 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 8 Apr 2020 20:48:28 +0000 (20:48 +0000)
Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
librpc/rpc/dcesrv_core.c
librpc/rpc/dcesrv_core.h

index 4148c3f0f1af8c7c3d46c1f4f1aadd1bea2e6bb4..88838121f2fb5ac31a62b80fb0d078a1c00ea310 100644 (file)
@@ -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;
index 161ed1a969135f5d5d56a5331554a0f4e5607d07..3f2b7676e8d5e5ac68d0eff0842a8cfbc3f95ead 100644 (file)
@@ -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,