Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
char *pdata,
files_struct *fsp,
const SMB_STRUCT_STAT *psbuf);
-
+NTSTATUS smb_set_file_disposition_info(connection_struct *conn,
+ const char *pdata,
+ int total_data,
+ files_struct *fsp,
+ struct smb_filename *smb_fname);
NTSTATUS refuse_symlink_fsp(const struct files_struct *fsp);
NTSTATUS check_access_fsp(struct files_struct *fsp,
uint32_t access_mask);
Deal with SMB_SET_FILE_DISPOSITION_INFO.
****************************************************************************/
-static NTSTATUS smb_set_file_disposition_info(connection_struct *conn,
- const char *pdata,
- int total_data,
- files_struct *fsp,
- struct smb_filename *smb_fname)
+NTSTATUS smb_set_file_disposition_info(connection_struct *conn,
+ const char *pdata,
+ int total_data,
+ files_struct *fsp,
+ struct smb_filename *smb_fname)
{
NTSTATUS status = NT_STATUS_OK;
bool delete_on_close;