Copy a file.
****************************************************************************/
-static NTSTATUS copy_internals(TALLOC_CTX *ctx,
- connection_struct *conn,
- struct smb_request *req,
- struct smb_filename *smb_fname_src,
- struct smb_filename *smb_fname_dst,
- uint32_t attrs)
+NTSTATUS copy_internals(TALLOC_CTX *ctx,
+ connection_struct *conn,
+ struct smb_request *req,
+ struct smb_filename *smb_fname_src,
+ struct smb_filename *smb_fname_dst,
+ uint32_t attrs)
{
files_struct *fsp1,*fsp2;
uint32_t fattr;
uint32_t max_data_count,
uint8_t **ppmarshalled_sd,
size_t *psd_size);
+NTSTATUS copy_internals(TALLOC_CTX *ctx,
+ connection_struct *conn,
+ struct smb_request *req,
+ struct smb_filename *smb_fname_src,
+ struct smb_filename *smb_fname_dst,
+ uint32_t attrs);
#ifdef HAVE_SYS_QUOTAS
struct smb2_query_quota_info;