smbd: Simplify copy_file()
[samba.git] / source3 / smbd / proto.h
index 28591a17e389dc8230e0b7bb9bd2d59a64ea6c31..9917562d1def05f21420ee1a4e2d57e648b64cb8 100644 (file)
@@ -988,7 +988,7 @@ NTSTATUS copy_file(TALLOC_CTX *ctx,
                        connection_struct *conn,
                        struct smb_filename *smb_fname_src,
                        struct smb_filename *smb_fname_dst,
-                       int ofun);
+                       uint32_t new_create_disposition);
 uint64_t get_lock_offset(const uint8_t *data, int data_offset,
                         bool large_file_format);