X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fa45ee4a5c6eb99a3d7bb445875d8035e492bdc7..0b14a8138021e4e6acea3eea8589d0e9fd24c9dc:/src/include/surf/surf.h diff --git a/src/include/surf/surf.h b/src/include/surf/surf.h index c388006ee3..16da53a709 100644 --- a/src/include/surf/surf.h +++ b/src/include/surf/surf.h @@ -701,7 +701,6 @@ XBT_PUBLIC(size_t) surf_workstation_file_tell(surf_resource_t workstation, surf_ * @param workstation The surf workstation * @param fd The file descriptor * @param fullpath The new full path - * @param origin Position used as a reference for the offset * * @return MSG_OK if successful, otherwise MSG_TASK_CANCELED */ @@ -722,6 +721,18 @@ XBT_PUBLIC(int) surf_workstation_file_move(surf_resource_t workstation, surf_fil */ XBT_PUBLIC(int) surf_workstation_file_seek(surf_resource_t workstation, surf_file_t fd, sg_size_t offset, int origin); +/** + * @brief Copy a file to another location on a remote host. + * @details [long description] + * + * @param workstation The surf workstation + * @param fd The file descriptor + * @param host_dest The workstation destination + * @param fullpath The new full path + * + * @return MSG_OK if successful, otherwise MSG_TASK_CANCELED + */ +XBT_PUBLIC(int) surf_workstation_file_rcopy(surf_resource_t workstation, surf_file_t fd, surf_resource_t host_dest, const char* fullpath); /** * @brief [brief description]