1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00

s3: Remove unused cli_setup_bcc

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat May 21 21:24:13 CEST 2011 on sn-devel-104
This commit is contained in:
Volker Lendecke 2011-05-21 20:14:30 +02:00 committed by Volker Lendecke
parent 1b5c2d8e92
commit dca321f62b
2 changed files with 0 additions and 10 deletions

View File

@ -417,15 +417,6 @@ void cli_setup_packet_buf(struct cli_state *cli, char *buf)
SSVAL(buf,smb_flg2, flags2);
}
/****************************************************************************
Setup the bcc length of the packet from a pointer to the end of the data.
****************************************************************************/
void cli_setup_bcc(struct cli_state *cli, void *p)
{
set_message_bcc(cli->outbuf, PTR_DIFF(p, smb_buf(cli->outbuf)));
}
/****************************************************************************
Initialize Domain, user or password.
****************************************************************************/

View File

@ -157,7 +157,6 @@ bool cli_state_seqnum_remove(struct cli_state *cli,
bool cli_receive_smb(struct cli_state *cli);
bool cli_send_smb(struct cli_state *cli);
void cli_setup_packet_buf(struct cli_state *cli, char *buf);
void cli_setup_bcc(struct cli_state *cli, void *p);
NTSTATUS cli_set_domain(struct cli_state *cli, const char *domain);
NTSTATUS cli_set_username(struct cli_state *cli, const char *username);
NTSTATUS cli_set_password(struct cli_state *cli, const char *password);