From bb65187b8978c418bff9cca0881b31b5ad9bb93e Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 21 Apr 2011 18:24:35 +0200 Subject: s3-proto: move more rpc client prototypes to cli_pipe.h. Guenther --- source3/include/proto.h | 7 ------- source3/rpc_client/cli_pipe.h | 9 +++++++++ 2 files changed, 9 insertions(+), 7 deletions(-) (limited to 'source3') diff --git a/source3/include/proto.h b/source3/include/proto.h index d4ab13d497..36f0235b02 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2672,13 +2672,6 @@ NTSTATUS rpc_pipe_open_interface(TALLOC_CTX *mem_ctx, struct messaging_context *msg_ctx, struct rpc_pipe_client **cli_pipe); -/* The following definitions come from rpc_client/cli_pipe_schannel.c */ - -NTSTATUS get_schannel_session_key(struct cli_state *cli, - const char *domain, - uint32 *pneg_flags, - struct rpc_pipe_client **presult); - /* The following definitions come from rpc_server/rpc_handles.c */ size_t num_pipe_handles(struct pipes_struct *p); diff --git a/source3/rpc_client/cli_pipe.h b/source3/rpc_client/cli_pipe.h index 81c382f5a8..65cc975806 100644 --- a/source3/rpc_client/cli_pipe.h +++ b/source3/rpc_client/cli_pipe.h @@ -25,6 +25,8 @@ #include "rpc_client/rpc_client.h" +/* The following definitions come from rpc_client/cli_pipe.c */ + struct tevent_req *rpc_api_pipe_req_send(TALLOC_CTX *mem_ctx, struct event_context *ev, struct rpc_pipe_client *cli, @@ -148,6 +150,13 @@ NTSTATUS cli_get_session_key(TALLOC_CTX *mem_ctx, struct rpc_pipe_client *cli, DATA_BLOB *session_key); +/* The following definitions come from rpc_client/cli_pipe_schannel.c */ + +NTSTATUS get_schannel_session_key(struct cli_state *cli, + const char *domain, + uint32 *pneg_flags, + struct rpc_pipe_client **presult); + #endif /* _CLI_PIPE_H */ /* vim: set ts=8 sw=8 noet cindent ft=c.doxygen: */ -- cgit