summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-02-09 06:55:33 +0100
committerVolker Lendecke <vlendec@samba.org>2011-02-09 11:46:20 +0100
commitf915dd5dd4895e1c67b544da8041beefe395c8ef (patch)
treee8e546464d10ad6a0b1b631bea8ef7b56ac087b6
parent4d058ca7c043e7d28385bec21c9e1d7575895625 (diff)
downloadsamba-f915dd5dd4895e1c67b544da8041beefe395c8ef.tar.gz
samba-f915dd5dd4895e1c67b544da8041beefe395c8ef.tar.bz2
samba-f915dd5dd4895e1c67b544da8041beefe395c8ef.zip
s3:rpc_client: make rpccli_bh_create() non-static for now
metze
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/rpc_client/cli_pipe.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 00e9de4c13..0cca013143 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 df1535c3cc..a5e8e73fef 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;