From f8f0cc985b181d5d19703fa3d16ec3de876fe4a8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 20 May 2008 11:59:18 +1000 Subject: moved these util functions into libcli (This used to be commit b2f1154bc338fb56fc998f40159156cb6859075b) --- source4/torture/smb2/util.c | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'source4/torture') 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 @@ -34,32 +34,6 @@ #include "torture/smb2/proto.h" -/* - 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 */ -- cgit