From 6ce645e03c279cbb2ed8a94f033b8e0601b61ef4 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 25 Apr 2013 18:27:57 +0200 Subject: s3:rpc_client: make rpccli_schannel_bind_data() static Signed-off-by: Stefan Metzmacher Reviewed-by: Andreas Schneider --- source3/rpc_client/cli_pipe.c | 9 +++++---- source3/rpc_client/cli_pipe.h | 6 ------ 2 files changed, 5 insertions(+), 10 deletions(-) (limited to 'source3/rpc_client') diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 1e296ee803..068510a371 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -2373,10 +2373,11 @@ static NTSTATUS rpccli_generic_bind_data(TALLOC_CTX *mem_ctx, return status; } -NTSTATUS rpccli_schannel_bind_data(TALLOC_CTX *mem_ctx, const char *domain, - enum dcerpc_AuthLevel auth_level, - struct netlogon_creds_CredentialState *creds, - struct pipe_auth_data **presult) +static NTSTATUS rpccli_schannel_bind_data(TALLOC_CTX *mem_ctx, + const char *domain, + enum dcerpc_AuthLevel auth_level, + struct netlogon_creds_CredentialState *creds, + struct pipe_auth_data **presult) { struct schannel_state *schannel_auth; struct pipe_auth_data *result; diff --git a/source3/rpc_client/cli_pipe.h b/source3/rpc_client/cli_pipe.h index 6fcc5873bf..8eb6040a10 100644 --- a/source3/rpc_client/cli_pipe.h +++ b/source3/rpc_client/cli_pipe.h @@ -58,12 +58,6 @@ NTSTATUS rpccli_ncalrpc_bind_data(TALLOC_CTX *mem_ctx, NTSTATUS rpccli_anon_bind_data(TALLOC_CTX *mem_ctx, struct pipe_auth_data **presult); -NTSTATUS rpccli_schannel_bind_data(TALLOC_CTX *mem_ctx, - const char *domain, - enum dcerpc_AuthLevel auth_level, - struct netlogon_creds_CredentialState *creds, - struct pipe_auth_data **presult); - NTSTATUS rpc_pipe_open_tcp(TALLOC_CTX *mem_ctx, const char *host, const struct sockaddr_storage *ss_addr, -- cgit