diff options
author | David Disseldorp <ddiss@samba.org> | 2013-01-15 17:23:04 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-01-16 23:15:07 +0100 |
commit | 7ca8663e313a55fd6157cf20eb02c2ac8be94a00 (patch) | |
tree | a0047d6a489974aea723093fc0c757c2e1803611 /source3/smbd/proto.h | |
parent | 3619b1a7b2b5a2bfe6fdb13ecb4650ae575ab3e8 (diff) | |
download | samba-7ca8663e313a55fd6157cf20eb02c2ac8be94a00.tar.gz samba-7ca8663e313a55fd6157cf20eb02c2ac8be94a00.tar.bz2 samba-7ca8663e313a55fd6157cf20eb02c2ac8be94a00.zip |
smbd: split out file_fsp_get from file_fsp_smb2
Obtain the files_struct from smb2req, persistent_id and
volatile_id.
Reviewed by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r-- | source3/smbd/proto.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index 772730203f..603114ecc9 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -387,6 +387,9 @@ void file_sync_all(connection_struct *conn); void fsp_free(files_struct *fsp); void file_free(struct smb_request *req, files_struct *fsp); files_struct *file_fsp(struct smb_request *req, uint16 fid); +struct files_struct *file_fsp_get(struct smbd_smb2_request *smb2req, + uint64_t persistent_id, + uint64_t volatile_id); struct files_struct *file_fsp_smb2(struct smbd_smb2_request *smb2req, uint64_t persistent_id, uint64_t volatile_id); |