diff options
author | Volker Lendecke <vl@samba.org> | 2008-04-24 20:42:32 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-04-25 11:12:52 +0200 |
commit | 63e0884df518b497d8dfee6ebdf916b73b8d9645 (patch) | |
tree | 9372d9577c0c02f664bdd63938fe5e28c79eb8a4 /source3/include | |
parent | cf182c0a7685dc962d67e16212ea0fc535c17683 (diff) | |
download | samba-63e0884df518b497d8dfee6ebdf916b73b8d9645.tar.gz samba-63e0884df518b497d8dfee6ebdf916b73b8d9645.tar.bz2 samba-63e0884df518b497d8dfee6ebdf916b73b8d9645.zip |
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)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/client.h | 14 |
1 files changed, 11 insertions, 3 deletions
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; |