From 5685914344d21e5fdac98c367b3dd1eba555f227 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 6 Jul 2010 11:33:15 -0400 Subject: s3-rpc_server: Convert rpc_connect_spoolss_pipe into a generic interface. This way we have one common way to open internal pipes whether they are shortcircuited or piped to an external process. --- source3/include/proto.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 6a1ab0fe10..6fe8f641ba 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -4163,8 +4163,12 @@ NTSTATUS rpc_pipe_open_internal(TALLOC_CTX *mem_ctx, struct client_address *client_id, struct messaging_context *msg_ctx, struct rpc_pipe_client **presult); -NTSTATUS rpc_connect_spoolss_pipe(connection_struct *conn, - struct rpc_pipe_client **spoolss_pipe); +NTSTATUS rpc_pipe_open_interface(TALLOC_CTX *mem_ctx, + const struct ndr_syntax_id *syntax, + struct auth_serversupplied_info *server_info, + struct client_address *client_id, + struct messaging_context *msg_ctx, + struct rpc_pipe_client **cli_pipe); NTSTATUS cli_rpc_pipe_open_noauth(struct cli_state *cli, const struct ndr_syntax_id *interface, struct rpc_pipe_client **presult); -- cgit