summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-07-08 15:18:08 -0400
committerSimo Sorce <idra@samba.org>2010-07-08 18:38:56 -0400
commit1796767a36fcd880139eb40176c7bcb34fd4ec90 (patch)
treea4e346532aa4bef893465154f0a52b742a32eb09
parenta054832f4fda4a158c1d0bf6fa2646bd5835aa2e (diff)
downloadsamba-1796767a36fcd880139eb40176c7bcb34fd4ec90.tar.gz
samba-1796767a36fcd880139eb40176c7bcb34fd4ec90.tar.bz2
samba-1796767a36fcd880139eb40176c7bcb34fd4ec90.zip
s3-dcerpc: make dcerpc_pull_dcerpc_auth() public
-rw-r--r--source3/include/proto.h3
-rw-r--r--source3/rpc_client/cli_pipe.c6
2 files changed, 6 insertions, 3 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 4300d3fc6d..860e19d2c3 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -4854,6 +4854,9 @@ NTSTATUS dcerpc_push_dcerpc_auth(TALLOC_CTX *mem_ctx,
uint32_t auth_context_id,
const DATA_BLOB *credentials,
DATA_BLOB *blob);
+NTSTATUS dcerpc_pull_dcerpc_auth(TALLOC_CTX *mem_ctx,
+ const DATA_BLOB *blob,
+ struct dcerpc_auth *r);
struct tevent_req *rpc_pipe_bind_send(TALLOC_CTX *mem_ctx,
struct event_context *ev,
struct rpc_pipe_client *cli,
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index b3aaf9df3e..b9b04b6fe0 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -404,9 +404,9 @@ static NTSTATUS dcerpc_push_schannel_bind(TALLOC_CTX *mem_ctx,
/*******************************************************************
********************************************************************/
-static NTSTATUS dcerpc_pull_dcerpc_auth(TALLOC_CTX *mem_ctx,
- const DATA_BLOB *blob,
- struct dcerpc_auth *r)
+NTSTATUS dcerpc_pull_dcerpc_auth(TALLOC_CTX *mem_ctx,
+ const DATA_BLOB *blob,
+ struct dcerpc_auth *r)
{
enum ndr_err_code ndr_err;