summaryrefslogtreecommitdiffstats
path: root/source3/include/vfs_macros.h
diff options
context:
space:
mode:
authorRichard Sharpe <realrichardsharpe@gmail.com>2011-09-16 11:52:22 -0700
committerRichard Sharpe <realrichardsharpe@gmail.com>2011-10-01 07:02:20 -0700
commitc875ab8747d65cc6556228616f076b0928013c87 (patch)
treebc7b582ac872d66273e8a1cd643770d6b01aa63a /source3/include/vfs_macros.h
parente8f143a45cceb8d2c01d45167a0c90d5c7f38289 (diff)
downloadsamba-c875ab8747d65cc6556228616f076b0928013c87.tar.gz
samba-c875ab8747d65cc6556228616f076b0928013c87.tar.xz
samba-c875ab8747d65cc6556228616f076b0928013c87.zip
Move FSCTL handling into the VFS. Initial code changes. Passes smbtorture NTTRANS-FSCTL. Test added to selftests.
Diffstat (limited to 'source3/include/vfs_macros.h')
-rw-r--r--source3/include/vfs_macros.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/include/vfs_macros.h b/source3/include/vfs_macros.h
index c7686f1db5..3dd6a64249 100644
--- a/source3/include/vfs_macros.h
+++ b/source3/include/vfs_macros.h
@@ -364,6 +364,12 @@
#define SMB_VFS_NEXT_TRANSLATE_NAME(handle, name, direction, mem_ctx, mapped_name) \
smb_vfs_call_translate_name((handle)->next, (name), (direction), (mem_ctx), (mapped_name))
+#define SMB_VFS_FSCTL(fsp, ctx, function, req_flags, in_data, in_len, out_data, max_out_len, out_len) \
+ smb_vfs_call_fsctl((fsp)->conn->vfs_handles, (fsp), (ctx), (function), (req_flags), (in_data), (in_len), (out_data), (max_out_len), (out_len))
+
+#define SMB_VFS_NEXT_FSCTL(handle, fsp, ctx, function, req_flags, in_data, in_len, out_data, max_out_len, out_len) \
+ smb_vfs_call_fsctl((handle)->next, (fsp), (ctx), (function), (req_flags), (in_data), (in_len), (out_data), (max_out_len), (out_len))
+
#define SMB_VFS_FGET_NT_ACL(fsp, security_info, ppdesc) \
smb_vfs_call_fget_nt_acl((fsp)->conn->vfs_handles, (fsp), (security_info), (ppdesc))
#define SMB_VFS_NEXT_FGET_NT_ACL(handle, fsp, security_info, ppdesc) \