mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s3:smbd: make smbd_do_setfilepathinfo() non static for use in SMB2 SetInfo
metze
This commit is contained in:
parent
f26a2ca8e4
commit
7d735519d7
@ -201,6 +201,15 @@ NTSTATUS smbd_do_qfilepathinfo(connection_struct *conn,
|
||||
char **ppdata,
|
||||
unsigned int *pdata_size);
|
||||
|
||||
NTSTATUS smbd_do_setfilepathinfo(connection_struct *conn,
|
||||
struct smb_request *req,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
uint16_t info_level,
|
||||
files_struct *fsp,
|
||||
struct smb_filename *smb_fname,
|
||||
char **ppdata, int total_data,
|
||||
int *ret_data_size);
|
||||
|
||||
void smbd_server_connection_terminate_ex(struct smbd_server_connection *sconn,
|
||||
const char *reason,
|
||||
const char *location);
|
||||
|
@ -7055,14 +7055,14 @@ static NTSTATUS smb_posix_unlink(connection_struct *conn,
|
||||
return close_file(req, fsp, NORMAL_CLOSE);
|
||||
}
|
||||
|
||||
static NTSTATUS smbd_do_setfilepathinfo(connection_struct *conn,
|
||||
struct smb_request *req,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
uint16_t info_level,
|
||||
files_struct *fsp,
|
||||
struct smb_filename *smb_fname,
|
||||
char **ppdata, int total_data,
|
||||
int *ret_data_size)
|
||||
NTSTATUS smbd_do_setfilepathinfo(connection_struct *conn,
|
||||
struct smb_request *req,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
uint16_t info_level,
|
||||
files_struct *fsp,
|
||||
struct smb_filename *smb_fname,
|
||||
char **ppdata, int total_data,
|
||||
int *ret_data_size)
|
||||
{
|
||||
char *pdata = *ppdata;
|
||||
SMB_STRUCT_STAT sbuf;
|
||||
|
Loading…
Reference in New Issue
Block a user