diff options
-rw-r--r-- | source3/rpc_client/rpc_transport.h | 1 | ||||
-rw-r--r-- | source3/rpc_client/rpc_transport_tstream.c | 19 |
2 files changed, 0 insertions, 20 deletions
diff --git a/source3/rpc_client/rpc_transport.h b/source3/rpc_client/rpc_transport.h index 72e7609732..ad2210646f 100644 --- a/source3/rpc_client/rpc_transport.h +++ b/source3/rpc_client/rpc_transport.h @@ -102,6 +102,5 @@ NTSTATUS rpc_transport_sock_init(TALLOC_CTX *mem_ctx, int fd, NTSTATUS rpc_transport_tstream_init(TALLOC_CTX *mem_ctx, struct tstream_context **stream, struct rpc_cli_transport **presult); -struct cli_state *rpc_pipe_np_smb_conn(struct rpc_pipe_client *p); #endif /* _RPC_CLIENT_RPC_TRANSPORT_H_ */ diff --git a/source3/rpc_client/rpc_transport_tstream.c b/source3/rpc_client/rpc_transport_tstream.c index ec37c7d5ca..dd0de081d1 100644 --- a/source3/rpc_client/rpc_transport_tstream.c +++ b/source3/rpc_client/rpc_transport_tstream.c @@ -585,22 +585,3 @@ NTSTATUS rpc_transport_tstream_init(TALLOC_CTX *mem_ctx, *presult = result; return NT_STATUS_OK; } - -struct cli_state *rpc_pipe_np_smb_conn(struct rpc_pipe_client *p) -{ - struct rpc_tstream_state *transp = - talloc_get_type_abort(p->transport->priv, - struct rpc_tstream_state); - bool ok; - - ok = rpccli_is_connected(p); - if (!ok) { - return NULL; - } - - if (!tstream_is_cli_np(transp->stream)) { - return NULL; - } - - return tstream_cli_np_get_cli_state(transp->stream); -} |