summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-04-21 18:24:35 +0200
committerGünther Deschner <gd@samba.org>2011-04-21 18:28:07 +0200
commitbb65187b8978c418bff9cca0881b31b5ad9bb93e (patch)
tree1a63f45591fb000ebf5db233c5582683a4c34212
parent2b608f3e677295ca66cdae73c1461847155ca01c (diff)
downloadsamba-bb65187b8978c418bff9cca0881b31b5ad9bb93e.tar.gz
samba-bb65187b8978c418bff9cca0881b31b5ad9bb93e.tar.bz2
samba-bb65187b8978c418bff9cca0881b31b5ad9bb93e.zip
s3-proto: move more rpc client prototypes to cli_pipe.h.
Guenther
-rw-r--r--source3/include/proto.h7
-rw-r--r--source3/rpc_client/cli_pipe.h9
2 files changed, 9 insertions, 7 deletions
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: */