mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
smbd: Make smb_set_file_disposition_info() public
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
38b15fada2
commit
bcc621a69f
@ -1109,7 +1109,11 @@ char *store_file_unix_basic_info2(connection_struct *conn,
|
||||
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);
|
||||
|
@ -4853,11 +4853,11 @@ static NTSTATUS smb_set_file_full_ea_info(connection_struct *conn,
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user