]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:rpc_server: Make npa_state_init() public
authorVolker Lendecke <vl@samba.org>
Fri, 18 Jun 2021 17:56:48 +0000 (19:56 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 10 Dec 2021 14:02:30 +0000 (14:02 +0000)
Will be used later in client tools.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/rpc_server/rpc_ncacn_np.c
source3/rpc_server/rpc_ncacn_np.h

index 0cc7b42f91b30a228e84d4eeee2a46f15717f4bd..952dabb7d15bb0dfe91517e58b36d7cfc660395c 100644 (file)
@@ -57,7 +57,7 @@ static struct np_proxy_state *make_external_rpc_pipe_p(TALLOC_CTX *mem_ctx,
                                const struct tsocket_address *local_address,
                                const struct auth_session_info *session_info);
 
-static struct npa_state *npa_state_init(TALLOC_CTX *mem_ctx)
+struct npa_state *npa_state_init(TALLOC_CTX *mem_ctx)
 {
        struct npa_state *npa;
 
index 25565f521598253384f059f71b42259091a892b7..eb7ce1f7ed101652779df12e815639a28546dbad 100644 (file)
@@ -57,6 +57,8 @@ NTSTATUS make_internal_rpc_pipe_socketpair(
        const struct auth_session_info *session_info,
        struct npa_state **pnpa);
 
+struct npa_state *npa_state_init(TALLOC_CTX *mem_ctx);
+
 NTSTATUS rpcint_binding_handle(TALLOC_CTX *mem_ctx,
                               const struct ndr_interface_table *ndr_table,
                               const struct tsocket_address *remote_address,