From 63e0884df518b497d8dfee6ebdf916b73b8d9645 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 24 Apr 2008 20:42:32 +0200 Subject: Introduce a redirection for ncacn_np and ncacn_ip_tcp in rpc_pipe_client Should be no functional change, just a change in the data structure (This used to be commit 3433f430b0c1f7d350a40eac783385a2d30d905c) --- source3/include/client.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'source3/include') diff --git a/source3/include/client.h b/source3/include/client.h index 5ab457a2ab..7d76b8e6f5 100644 --- a/source3/include/client.h +++ b/source3/include/client.h @@ -63,10 +63,18 @@ struct cli_pipe_auth_data { struct rpc_pipe_client { struct rpc_pipe_client *prev, *next; - struct cli_state *cli; + enum dcerpc_transport_t transport_type; - const char *pipe_name; - uint16 fnum; + union { + struct { + struct cli_state *cli; + const char *pipe_name; + uint16 fnum; + } np; + struct { + int sock; + } tcp; + } trans ; const struct ndr_syntax_id *abstract_syntax; const struct ndr_syntax_id *transfer_syntax; -- cgit