diff options
author | Volker Lendecke <vl@samba.org> | 2008-07-20 18:45:39 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-07-21 14:36:28 +0200 |
commit | 9664f24ecfcfe16b90e602bf7c9bc577a0b743d0 (patch) | |
tree | 6f76655cc0036a9244ecf65f2e0f7c1cd631accc /source3 | |
parent | 05cc3fda05ced80828d8a7bbc00674c495bf46d3 (diff) | |
download | samba-9664f24ecfcfe16b90e602bf7c9bc577a0b743d0.tar.gz samba-9664f24ecfcfe16b90e602bf7c9bc577a0b743d0.tar.bz2 samba-9664f24ecfcfe16b90e602bf7c9bc577a0b743d0.zip |
Remove now unused cli_get_iface
(This used to be commit 2e60701e8d41132f90e64a86bccd99cc188d38c9)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/rpc_client/cli_pipe.c | 9 |
2 files changed, 0 insertions, 10 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 194dda7648..90b79c2fa4 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -7915,7 +7915,6 @@ const char *cli_get_pipe_name_from_iface(TALLOC_CTX *mem_ctx, struct cli_state *cli, const struct ndr_syntax_id *interface); int cli_get_pipe_idx(const RPC_IFACE *syntax); -const struct ndr_syntax_id *cli_get_iface(int pipe_idx); void init_rpc_hdr(RPC_HDR *hdr, enum RPC_PKT_TYPE pkt_type, uint8 flags, uint32 call_id, int data_len, int auth_len); bool smb_io_rpc_hdr(const char *desc, RPC_HDR *rpc, prs_struct *ps, int depth); diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 6f132a6431..b969b83e4f 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -122,15 +122,6 @@ int cli_get_pipe_idx(const RPC_IFACE *syntax) } /******************************************************************** - LEGACY function to ease transition from pipe_idx to interface - ********************************************************************/ -const struct ndr_syntax_id *cli_get_iface(int pipe_idx) -{ - SMB_ASSERT((pipe_idx >= 0) && (pipe_idx < PI_MAX_PIPES)); - return pipe_names[pipe_idx].abstr_syntax; -} - -/******************************************************************** Map internal value to wire value. ********************************************************************/ |