diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/globals.h | 9 | ||||
-rw-r--r-- | source3/smbd/trans2.c | 16 |
2 files changed, 17 insertions, 8 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index 109c29a1ae..cd3e054d1a 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -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); diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 2ee3938aec..4dd0375067 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -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; |