* \ingroup simix_file_management
*
*/
-sg_size_t simcall_file_read(smx_file_t fd, sg_size_t size, sg_host_t host)
+sg_size_t simcall_file_read(surf_file_t fd, sg_size_t size, sg_host_t host)
{
return simcall_BODY_file_read(fd, size, host);
}
* \ingroup simix_file_management
*
*/
-sg_size_t simcall_file_write(smx_file_t fd, sg_size_t size, sg_host_t host)
+sg_size_t simcall_file_write(surf_file_t fd, sg_size_t size, sg_host_t host)
{
return simcall_BODY_file_write(fd, size, host);
}
* \ingroup simix_file_management
* \brief
*/
-smx_file_t simcall_file_open(const char* mount, const char* path, sg_storage_t st)
+surf_file_t simcall_file_open(const char* mount, const char* path, sg_storage_t st)
{
return simcall_BODY_file_open(mount, path, st);
}
* \ingroup simix_file_management
*
*/
-int simcall_file_close(smx_file_t fd, sg_host_t host)
+int simcall_file_close(surf_file_t fd, sg_host_t host)
{
return simcall_BODY_file_close(fd, host);
}
* \ingroup simix_file_management
*
*/
-int simcall_file_unlink(smx_file_t fd, sg_host_t host)
+int simcall_file_unlink(surf_file_t fd, sg_host_t host)
{
return simcall_BODY_file_unlink(fd, host);
}
* \ingroup simix_file_management
*
*/
-sg_size_t simcall_file_get_size(smx_file_t fd){
+sg_size_t simcall_file_get_size(surf_file_t fd)
+{
return simcall_BODY_file_get_size(fd);
}
* \ingroup simix_file_management
*
*/
-sg_size_t simcall_file_tell(smx_file_t fd){
+sg_size_t simcall_file_tell(surf_file_t fd)
+{
return simcall_BODY_file_tell(fd);
}
* \ingroup simix_file_management
*
*/
-int simcall_file_seek(smx_file_t fd, sg_offset_t offset, int origin){
+int simcall_file_seek(surf_file_t fd, sg_offset_t offset, int origin)
+{
return simcall_BODY_file_seek(fd, offset, origin);
}
* \brief Move a file to another location on the *same mount point*.
*
*/
-int simcall_file_move(smx_file_t fd, const char* fullpath)
+int simcall_file_move(surf_file_t fd, const char* fullpath)
{
return simcall_BODY_file_move(fd, fullpath);
}