mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
Remove now unused cli_get_pipe_idx
This commit is contained in:
parent
2e60701e8d
commit
e02a550527
@ -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);
|
||||
|
@ -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.
|
||||
********************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user