diff options
author | Volker Lendecke <vl@samba.org> | 2008-07-21 13:04:13 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-07-21 14:36:31 +0200 |
commit | a20c49831013977385e5b7e7bcb307ce451aaaa9 (patch) | |
tree | ac658e143ecde24315800352b56022699cdda8dd /source3 | |
parent | 86bb7464066ff3743eb19e874ef7dfe86dd1fcb4 (diff) | |
download | samba-a20c49831013977385e5b7e7bcb307ce451aaaa9.tar.gz samba-a20c49831013977385e5b7e7bcb307ce451aaaa9.tar.bz2 samba-a20c49831013977385e5b7e7bcb307ce451aaaa9.zip |
Remove unused function rpccli_is_pipe_idx
(This used to be commit 287ffc17a072d5e1a5b0e1ecae089faf67b814b7)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/rpc_client/cli_pipe.c | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 720ba3f91f..856ab76603 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -7073,7 +7073,6 @@ NTSTATUS rpc_pipe_bind(struct rpc_pipe_client *cli, struct cli_pipe_auth_data *auth); unsigned int rpccli_set_timeout(struct rpc_pipe_client *cli, unsigned int timeout); -bool rpccli_is_pipe_idx(struct rpc_pipe_client *cli, int pipe_idx); bool rpccli_get_pwd_hash(struct rpc_pipe_client *cli, uint8_t nt_hash[16]); struct cli_state *rpc_pipe_np_smb_conn(struct rpc_pipe_client *p); NTSTATUS rpccli_anon_bind_data(TALLOC_CTX *mem_ctx, diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 7781ea6921..ad2f512647 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -2326,12 +2326,6 @@ unsigned int rpccli_set_timeout(struct rpc_pipe_client *cli, return cli_set_timeout(cli->trans.np.cli, timeout); } -bool rpccli_is_pipe_idx(struct rpc_pipe_client *cli, int pipe_idx) -{ - return ndr_syntax_id_equal(&cli->abstract_syntax, - pipe_names[pipe_idx].abstr_syntax); -} - bool rpccli_get_pwd_hash(struct rpc_pipe_client *cli, uint8_t nt_hash[16]) { if ((cli->auth->auth_type == PIPE_AUTH_TYPE_NTLMSSP) |