summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-04-20 14:05:25 +0200
committerVolker Lendecke <vl@samba.org>2008-04-20 14:08:16 +0200
commitb9cc05506273e5ce3398a5912b9c9e5989717480 (patch)
treef232ff8840eeecac5e855032852f448d27c2db4b /source3/rpc_client
parent0c17878e2189431fcb7d63c4ddd0f4647ba411b9 (diff)
downloadsamba-b9cc05506273e5ce3398a5912b9c9e5989717480.tar.gz
samba-b9cc05506273e5ce3398a5912b9c9e5989717480.tar.bz2
samba-b9cc05506273e5ce3398a5912b9c9e5989717480.zip
Introduce rpc_pipe_np_smb_conn()
This abstracts away all references to rpc_pipe_client->cli, the only reference is now in cli_pipe.c. (This used to be commit c56e1c08cef107ff33a34346ceeca3475a102b19)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_pipe.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index b0d6f8eafd..1ea01c94f0 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -2140,6 +2140,11 @@ bool rpccli_is_pipe_idx(struct rpc_pipe_client *cli, int pipe_idx)
return (cli->abstract_syntax == pipe_names[pipe_idx].abstr_syntax);
}
+struct cli_state *rpc_pipe_np_smb_conn(struct rpc_pipe_client *p)
+{
+ return p->cli;
+}
+
static int rpc_pipe_destructor(struct rpc_pipe_client *p)
{
bool ret;