From: Stefan Metzmacher Date: Thu, 25 Apr 2013 16:27:57 +0000 (+0200) Subject: s3:rpc_client: make rpccli_schannel_bind_data() static X-Git-Url: http://git.samba.org/?p=metze%2Fsamba%2Fwip.git;a=commitdiff_plain;h=6ce645e03c279cbb2ed8a94f033b8e0601b61ef4 s3:rpc_client: make rpccli_schannel_bind_data() static Signed-off-by: Stefan Metzmacher Reviewed-by: Andreas Schneider --- diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 1e296ee80311..068510a3710d 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 6fcc5873bfe4..8eb6040a1091 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,