summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-05-20 11:59:18 +1000
committerAndrew Tridgell <tridge@samba.org>2008-05-20 11:59:18 +1000
commitf8f0cc985b181d5d19703fa3d16ec3de876fe4a8 (patch)
tree47bbc665756d4369e58074552674517da47a2719
parent2352602a57989ac1572151cba1da1e78b9410860 (diff)
downloadsamba-f8f0cc985b181d5d19703fa3d16ec3de876fe4a8.tar.gz
samba-f8f0cc985b181d5d19703fa3d16ec3de876fe4a8.tar.bz2
samba-f8f0cc985b181d5d19703fa3d16ec3de876fe4a8.zip
moved these util functions into libcli
(This used to be commit b2f1154bc338fb56fc998f40159156cb6859075b)
-rw-r--r--source4/torture/smb2/util.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/source4/torture/smb2/util.c b/source4/torture/smb2/util.c
index 4995bbe978..af4f345104 100644
--- a/source4/torture/smb2/util.c
+++ b/source4/torture/smb2/util.c
@@ -35,32 +35,6 @@
/*
- close a handle with SMB2
-*/
-NTSTATUS smb2_util_close(struct smb2_tree *tree, struct smb2_handle h)
-{
- struct smb2_close c;
-
- ZERO_STRUCT(c);
- c.in.file.handle = h;
-
- return smb2_close(tree, &c);
-}
-
-/*
- unlink a file with SMB2
-*/
-NTSTATUS smb2_util_unlink(struct smb2_tree *tree, const char *fname)
-{
- union smb_unlink io;
-
- ZERO_STRUCT(io);
- io.unlink.in.pattern = fname;
-
- return smb2_composite_unlink(tree, &io);
-}
-
-/*
write to a file on SMB2
*/
NTSTATUS smb2_util_write(struct smb2_tree *tree,