s3-proto: move more rpc client prototypes to cli_pipe.h.
authorGünther Deschner <gd@samba.org>
Thu, 21 Apr 2011 16:24:35 +0000 (18:24 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 21 Apr 2011 16:28:07 +0000 (18:28 +0200)
Guenther

source3/include/proto.h
source3/rpc_client/cli_pipe.h

index d4ab13d4976c23586308e553878864a3eddd2d1c..36f0235b02f67e43da3fc67e9bd5a2c2502eab88 100644 (file)
@@ -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);
index 81c382f5a8fd0f9d34fb00466e9ebec7209582ac..65cc975806158d92330d039e5cc01f3c6ee88c79 100644 (file)
@@ -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: */