diff --git a/source3/include/proto.h b/source3/include/proto.h index 00e9de4c137..0cca013143e 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -4107,6 +4107,7 @@ NTSTATUS rpc_pipe_open_tcp(TALLOC_CTX *mem_ctx, const char *host, NTSTATUS rpc_pipe_open_ncalrpc(TALLOC_CTX *mem_ctx, const char *socket_path, const struct ndr_syntax_id *abstract_syntax, struct rpc_pipe_client **presult); +struct dcerpc_binding_handle *rpccli_bh_create(struct rpc_pipe_client *c); struct pipes_struct *make_internal_rpc_pipe_p(TALLOC_CTX *mem_ctx, const struct ndr_syntax_id *syntax, struct client_address *client_id, diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index df1535c3cc3..a5e8e73fef5 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -2181,7 +2181,7 @@ static const struct dcerpc_binding_handle_ops rpccli_bh_ops = { }; /* initialise a rpc_pipe_client binding handle */ -static struct dcerpc_binding_handle *rpccli_bh_create(struct rpc_pipe_client *c) +struct dcerpc_binding_handle *rpccli_bh_create(struct rpc_pipe_client *c) { struct dcerpc_binding_handle *h; struct rpccli_bh_state *hs;