diff options
Diffstat (limited to 'source3/smbd/vfs.c')
-rw-r--r-- | source3/smbd/vfs.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index 7f16670173..1424d502d6 100644 --- a/source3/smbd/vfs.c +++ b/source3/smbd/vfs.c @@ -1126,6 +1126,21 @@ NTSTATUS vfs_stat_fsp(files_struct *fsp) return NT_STATUS_OK; } +/** + * Initialize num_streams and streams, then call VFS op streaminfo + */ +NTSTATUS vfs_streaminfo(connection_struct *conn, + struct files_struct *fsp, + const char *fname, + TALLOC_CTX *mem_ctx, + unsigned int *num_streams, + struct stream_struct **streams) +{ + *num_streams = 0; + *streams = NULL; + return SMB_VFS_STREAMINFO(conn, fsp, fname, mem_ctx, num_streams, streams); +} + /* generate a file_id from a stat structure */ |