summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-04-24 20:42:32 +0200
committerVolker Lendecke <vl@samba.org>2008-04-25 11:12:52 +0200
commit63e0884df518b497d8dfee6ebdf916b73b8d9645 (patch)
tree9372d9577c0c02f664bdd63938fe5e28c79eb8a4 /source3/include
parentcf182c0a7685dc962d67e16212ea0fc535c17683 (diff)
downloadsamba-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.h14
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;