mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
smbd: add dir_hnd_fetch_fsp()
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
640683990e
commit
21859695fc
@ -735,6 +735,11 @@ files_struct *dptr_fetch_fsp(struct smbd_server_connection *sconn,
|
||||
return dptr->dir_hnd->fsp;
|
||||
}
|
||||
|
||||
struct files_struct *dir_hnd_fetch_fsp(struct smb_Dir *dir_hnd)
|
||||
{
|
||||
return dir_hnd->fsp;
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
Fetch the fsp associated with the dptr_num.
|
||||
****************************************************************************/
|
||||
|
@ -213,6 +213,8 @@ bool dptr_fill(struct smbd_server_connection *sconn,
|
||||
char *buf1,unsigned int key);
|
||||
files_struct *dptr_fetch_fsp(struct smbd_server_connection *sconn,
|
||||
char *buf,int *num);
|
||||
struct smb_Dir;
|
||||
struct files_struct *dir_hnd_fetch_fsp(struct smb_Dir *dir_hnd);
|
||||
files_struct *dptr_fetch_lanman2_fsp(struct smbd_server_connection *sconn,
|
||||
int dptr_num);
|
||||
bool get_dir_entry(TALLOC_CTX *ctx,
|
||||
|
Loading…
Reference in New Issue
Block a user