Remove now unused cli_get_iface
authorVolker Lendecke <vl@samba.org>
Sun, 20 Jul 2008 16:45:39 +0000 (18:45 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 21 Jul 2008 12:36:28 +0000 (14:36 +0200)
(This used to be commit 2e60701e8d41132f90e64a86bccd99cc188d38c9)

source3/include/proto.h
source3/rpc_client/cli_pipe.c

index 194dda76487b5fa83253d1caee9c36531ab4cee0..90b79c2fa49f6aedcf0132d7e6d90bf00c95620c 100644 (file)
@@ -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);
index 6f132a6431db0d8343de6624da8688d9781b2347..b969b83e4fc205923ad7c61550656d144856b07d 100644 (file)
@@ -121,15 +121,6 @@ int cli_get_pipe_idx(const RPC_IFACE *syntax)
        return -1;
 }
 
-/********************************************************************
- 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.
  ********************************************************************/