summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-01-22 18:52:15 +0100
committerVolker Lendecke <vl@samba.org>2009-01-22 22:59:54 +0100
commitb7094c0b804984de8e0b50c17e7908a2685df557 (patch)
treee7cb0b683110e4b23b190d0c876ed35f8b394bd8 /source3/include
parentb7bd71b34969927e39d5d24c766efeda262ee5bd (diff)
downloadsamba-b7094c0b804984de8e0b50c17e7908a2685df557.tar.gz
samba-b7094c0b804984de8e0b50c17e7908a2685df557.tar.bz2
samba-b7094c0b804984de8e0b50c17e7908a2685df557.zip
Abstract away the transport in cli_pipe.c
Sorry for the monster checkin, I could not really find a way to do this in steps.
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/client.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/source3/include/client.h b/source3/include/client.h
index c47f058318..d62d1c05d2 100644
--- a/source3/include/client.h
+++ b/source3/include/client.h
@@ -114,18 +114,7 @@ struct rpc_cli_transport {
struct rpc_pipe_client {
struct rpc_pipe_client *prev, *next;
- enum dcerpc_transport_t transport_type;
-
- union {
- struct {
- struct cli_state *cli;
- const char *pipe_name;
- uint16 fnum;
- } np;
- struct {
- int fd;
- } sock;
- } trans ;
+ struct rpc_cli_transport *transport;
struct ndr_syntax_id abstract_syntax;
struct ndr_syntax_id transfer_syntax;