mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
s3:smbd: make smbd_do_qfsinfo() non static for use in SMB2 GetInfo
metze
This commit is contained in:
parent
2a92139a1c
commit
ed99bf7317
@ -210,6 +210,15 @@ NTSTATUS smbd_do_setfilepathinfo(connection_struct *conn,
|
||||
char **ppdata, int total_data,
|
||||
int *ret_data_size);
|
||||
|
||||
NTSTATUS smbd_do_qfsinfo(connection_struct *conn,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
uint16_t info_level,
|
||||
SMB_STRUCT_STAT st,
|
||||
uint16_t flags2,
|
||||
unsigned int max_data_bytes,
|
||||
char **ppdata,
|
||||
int *ret_data_len);
|
||||
|
||||
void smbd_server_connection_terminate_ex(struct smbd_server_connection *sconn,
|
||||
const char *reason,
|
||||
const char *location);
|
||||
|
@ -2687,14 +2687,14 @@ static void samba_extended_info_version(struct smb_extended_info *extended_info)
|
||||
"%s", samba_version_string());
|
||||
}
|
||||
|
||||
static NTSTATUS smbd_do_qfsinfo(connection_struct *conn,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
uint16_t info_level,
|
||||
SMB_STRUCT_STAT st,
|
||||
uint16_t flags2,
|
||||
unsigned int max_data_bytes,
|
||||
char **ppdata,
|
||||
int *ret_data_len)
|
||||
NTSTATUS smbd_do_qfsinfo(connection_struct *conn,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
uint16_t info_level,
|
||||
SMB_STRUCT_STAT st,
|
||||
uint16_t flags2,
|
||||
unsigned int max_data_bytes,
|
||||
char **ppdata,
|
||||
int *ret_data_len)
|
||||
{
|
||||
char *pdata, *end_data;
|
||||
int data_len = 0, len;
|
||||
|
Loading…
x
Reference in New Issue
Block a user