s3:rpc_client: make rpccli_bh_create() non-static for now
authorStefan Metzmacher <metze@samba.org>
Wed, 9 Feb 2011 05:55:33 +0000 (06:55 +0100)
committerVolker Lendecke <vlendec@samba.org>
Wed, 9 Feb 2011 10:46:20 +0000 (11:46 +0100)
metze

source3/include/proto.h
source3/rpc_client/cli_pipe.c

index 00e9de4c137adcab4d4a071b11fb8fa986a9c3bf..0cca013143e6fe11fcbfae7dd4042519a8084435 100644 (file)
@@ -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,
index df1535c3cc3441b967c3675fbd143c6d503ac857..a5e8e73fef5b8dbe224589a42977084f4358fde9 100644 (file)
@@ -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;