X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b3973f5189df8d8983e47336546fd0259f0e2dab..f3ae712a1b95294052b6e8136d0f0f2d4b30e6eb:/src/simix/smx_user.c diff --git a/src/simix/smx_user.c b/src/simix/smx_user.c index c6da787256..18be610856 100644 --- a/src/simix/smx_user.c +++ b/src/simix/smx_user.c @@ -1336,18 +1336,18 @@ sg_size_t simcall_file_write(smx_file_t fd, sg_size_t size, smx_host_t host) * \ingroup simix_file_management * \brief */ -smx_file_t simcall_file_open(const char* fullpath) +smx_file_t simcall_file_open(const char* fullpath, smx_host_t host) { - return simcall_BODY_file_open(fullpath); + return simcall_BODY_file_open(fullpath, host); } /** * \ingroup simix_file_management * */ -int simcall_file_close(smx_file_t fd) +int simcall_file_close(smx_file_t fd, smx_host_t host) { - return simcall_BODY_file_close(fd); + return simcall_BODY_file_close(fd, host); } /** @@ -1359,14 +1359,6 @@ int simcall_file_unlink(smx_file_t fd) return simcall_BODY_file_unlink(fd); } -/** - * \ingroup simix_file_management - * - */ -xbt_dict_t simcall_file_ls(const char* mount, const char* path) -{ - return simcall_BODY_file_ls(mount, path); -} /** * \ingroup simix_file_management * @@ -1410,34 +1402,24 @@ int simcall_file_move(smx_file_t fd, const char* fullpath) return simcall_BODY_file_move(fd, fullpath); } -/** - * \ingroup simix_file_management - * \brief Copy a file to another location on a remote host. - * - */ -int simcall_file_rcopy(smx_file_t fd, smx_host_t host, const char* fullpath) -{ - return simcall_BODY_file_rcopy(fd, host, fullpath); -} - /** * \ingroup simix_storage_management * \brief Returns the free space size on a given storage element. - * \param storage name + * \param storage a storage * \return Return the free space size on a given storage element (as sg_size_t) */ -sg_size_t simcall_storage_get_free_size (const char* name){ - return simcall_BODY_storage_get_free_size(name); +sg_size_t simcall_storage_get_free_size (smx_storage_t storage){ + return simcall_BODY_storage_get_free_size(storage); } /** * \ingroup simix_storage_management * \brief Returns the used space size on a given storage element. - * \param storage name + * \param storage a storage * \return Return the used space size on a given storage element (as sg_size_t) */ -sg_size_t simcall_storage_get_used_size (const char* name){ - return simcall_BODY_storage_get_used_size(name); +sg_size_t simcall_storage_get_used_size (smx_storage_t storage){ + return simcall_BODY_storage_get_used_size(storage); } /**