char **_fname),
bool (*mode_fn)(TALLOC_CTX *ctx,
void *private_data,
+ struct files_struct *dirfsp,
+ struct smb_filename *atname,
struct smb_filename *smb_fname,
bool get_dosmode,
uint32_t *_mode),
continue;
}
- ok = mode_fn(ctx, private_data, smb_fname, get_dosmode, &mode);
+ ok = mode_fn(ctx,
+ private_data,
+ dirptr->dir_hnd->fsp,
+ atname,
+ smb_fname,
+ get_dosmode,
+ &mode);
if (!ok) {
TALLOC_FREE(atname);
TALLOC_FREE(smb_fname);
static bool smbd_dirptr_8_3_mode_fn(TALLOC_CTX *ctx,
void *private_data,
+ struct files_struct *dirfsp,
+ struct smb_filename *atname,
struct smb_filename *smb_fname,
bool get_dosmode,
uint32_t *_mode)
char **_fname),
bool (*mode_fn)(TALLOC_CTX *ctx,
void *private_data,
+ struct files_struct *dirfsp,
+ struct smb_filename *atname,
struct smb_filename *smb_fname,
bool get_dosmode,
uint32_t *_mode),
static bool smbd_dirptr_lanman2_mode_fn(TALLOC_CTX *ctx,
void *private_data,
+ struct files_struct *dirfsp,
+ struct smb_filename *atname,
struct smb_filename *smb_fname,
bool get_dosmode,
uint32_t *_mode)