summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-05-21 20:14:30 +0200
committerVolker Lendecke <vlendec@samba.org>2011-05-21 21:24:13 +0200
commitdca321f62b30ae5bbb8cc61f400d2c25929ff2dd (patch)
treeead5ac583210d7c05634925f2c1fecd051ae1ce1
parent1b5c2d8e924e32b1a4eae36c7b353de8a126a422 (diff)
downloadsamba-dca321f62b30ae5bbb8cc61f400d2c25929ff2dd.tar.gz
samba-dca321f62b30ae5bbb8cc61f400d2c25929ff2dd.tar.bz2
samba-dca321f62b30ae5bbb8cc61f400d2c25929ff2dd.zip
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
-rw-r--r--source3/libsmb/clientgen.c9
-rw-r--r--source3/libsmb/proto.h1
2 files changed, 0 insertions, 10 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index 5a1ac82d3c..d6f909c205 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/libsmb/clientgen.c
@@ -418,15 +418,6 @@ void cli_setup_packet_buf(struct cli_state *cli, char *buf)
}
/****************************************************************************
- 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.
****************************************************************************/
diff --git a/source3/libsmb/proto.h b/source3/libsmb/proto.h
index 03f3ed946b..2da632ec36 100644
--- a/source3/libsmb/proto.h
+++ b/source3/libsmb/proto.h
@@ -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);