#include "includes.h"
#include "smbd/smbd.h"
#include "ntioctl.h"
+#include "source3/smbd/dir.h"
/*
Please read the VFS module Samba-HowTo-Collection.
while (True) {
struct dirent *d;
- d = SMB_VFS_NEXT_READDIR(handle, fsp, p, NULL);
+ d = SMB_VFS_NEXT_READDIR(handle, fsp, p);
if (d == NULL) {
break;
}
static struct dirent *shadow_copy_readdir(vfs_handle_struct *handle,
struct files_struct *dirfsp,
- DIR *_dirp,
- SMB_STRUCT_STAT *sbuf)
+ DIR *_dirp)
{
shadow_copy_Dir *dirp = (shadow_copy_Dir *)_dirp;