X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=source3%2Finclude%2Fvfs.h;h=dfba1cf7608dbb0e50f53353256443c557c101bb;hb=64af0aeb23ded0917d972701577a18d30fc9df61;hp=eaa816d8becc6dfc82757f257bb4b45b5fd664bc;hpb=556b114f11c9fbe806d960417e2777560a163793;p=bbaumbach%2Fsamba-autobuild%2F.git diff --git a/source3/include/vfs.h b/source3/include/vfs.h index eaa816d8bec..dfba1cf7608 100644 --- a/source3/include/vfs.h +++ b/source3/include/vfs.h @@ -349,6 +349,7 @@ * Version 45 - Remove SMB_VFS_CHMOD * Version 45 - Add SMB_VFS_FNTIMES * Version 45 - Remove SMB_VFS_NTIMES + * Version 45 - ADD SMB_VFS_FSTREAMINFO */ #define SMB_VFS_INTERFACE_VERSION 45 @@ -1119,6 +1120,12 @@ struct vfs_fn_pointers { unsigned int *num_streams, struct stream_struct **streams); + NTSTATUS (*fstreaminfo_fn)(struct vfs_handle_struct *handle, + struct files_struct *fsp, + TALLOC_CTX *mem_ctx, + unsigned int *num_streams, + struct stream_struct **streams); + int (*get_real_filename_fn)(struct vfs_handle_struct *handle, const struct smb_filename *path, const char *name, @@ -1592,6 +1599,11 @@ NTSTATUS smb_vfs_call_streaminfo(struct vfs_handle_struct *handle, TALLOC_CTX *mem_ctx, unsigned int *num_streams, struct stream_struct **streams); +NTSTATUS smb_vfs_call_fstreaminfo(struct vfs_handle_struct *handle, + struct files_struct *fsp, + TALLOC_CTX *mem_ctx, + unsigned int *num_streams, + struct stream_struct **streams); int smb_vfs_call_get_real_filename(struct vfs_handle_struct *handle, const struct smb_filename *path, const char *name, @@ -2053,6 +2065,11 @@ NTSTATUS vfs_not_implemented_streaminfo(struct vfs_handle_struct *handle, TALLOC_CTX *mem_ctx, unsigned int *num_streams, struct stream_struct **streams); +NTSTATUS vfs_not_implemented_fstreaminfo(struct vfs_handle_struct *handle, + struct files_struct *fsp, + TALLOC_CTX *mem_ctx, + unsigned int *num_streams, + struct stream_struct **streams); int vfs_not_implemented_get_real_filename(struct vfs_handle_struct *handle, const struct smb_filename *path, const char *name,