s3:vfs: add SMB_VFS_READDIR_ATTR()
authorRalph Boehme <slow@samba.org>
Wed, 26 Nov 2014 13:30:37 +0000 (14:30 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 4 Dec 2014 21:11:07 +0000 (22:11 +0100)
commitb65e37dc01d7afa007768f7cadfcf3b7c1007664
treeec45710c1b260aedc21a4f5767f4465ab0817edd
parent46431e390f8184c4207f48704e0a0bb5dcb38366
s3:vfs: add SMB_VFS_READDIR_ATTR()

SMB_VFS_READDIR_ATTR is a last minute hook to fetch additional metadata
for a directory entry when we're already marshalling the SMB reply
buffer.

This would be used, when there's a need to repurpose some fields in the
the reply, like it's done with Apple's SMB2 extension "AAPL".

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
examples/VFS/skel_opaque.c
examples/VFS/skel_transparent.c
source3/include/smb.h
source3/include/vfs.h
source3/include/vfs_macros.h
source3/lib/readdir_attr.h [new file with mode: 0644]
source3/modules/vfs_default.c
source3/modules/vfs_full_audit.c
source3/modules/vfs_time_audit.c
source3/smbd/vfs.c