summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
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;