diff options
author | Volker Lendecke <vl@samba.org> | 2008-07-20 18:46:13 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-07-21 14:36:29 +0200 |
commit | 346a8d1bdcb5e69f608e9e6859e36798f3d43abe (patch) | |
tree | 497b6a642691857b431d743fb4778d2d469509a9 | |
parent | 9664f24ecfcfe16b90e602bf7c9bc577a0b743d0 (diff) | |
download | samba-346a8d1bdcb5e69f608e9e6859e36798f3d43abe.tar.gz samba-346a8d1bdcb5e69f608e9e6859e36798f3d43abe.tar.bz2 samba-346a8d1bdcb5e69f608e9e6859e36798f3d43abe.zip |
Remove now unused cli_get_pipe_idx
(This used to be commit e02a550527307f7b300d3fe13631e2d29dbc5e06)
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/rpc_client/cli_pipe.c | 15 |
2 files changed, 0 insertions, 16 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 90b79c2fa4..aab9b253d8 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -7914,7 +7914,6 @@ const char *cli_get_pipe_name(int pipe_idx); 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); 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 b969b83e4f..3f27a89fc4 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -106,21 +106,6 @@ const char *cli_get_pipe_name_from_iface(TALLOC_CTX *mem_ctx, return NULL; } -/**************************************************************************** - Return the pipe idx from the syntax. - ****************************************************************************/ -int cli_get_pipe_idx(const RPC_IFACE *syntax) -{ - int i; - for (i = 0; pipe_names[i].client_pipe; i++) { - if (ndr_syntax_id_equal(pipe_names[i].abstr_syntax, syntax)) { - return i; - } - } - - return -1; -} - /******************************************************************** Map internal value to wire value. ********************************************************************/ |