Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add SD_storage_get_host() and MSG_storage_get_host()
[simgrid.git] / src / simix / smx_io.c
index 7e86d4b..6833b8a 100644 (file)
@@ -395,6 +395,15 @@ sg_size_t SIMIX_storage_get_size(smx_storage_t storage){
   return surf_storage_get_size(storage);
 }
 
+const char* SIMIX_pre_storage_get_host(smx_simcall_t simcall, smx_storage_t storage){
+   return SIMIX_storage_get_host(storage);
+}
+
+const char* SIMIX_storage_get_host(smx_storage_t storage){
+  xbt_assert((storage != NULL), "Invalid parameters");
+  return surf_storage_get_host(storage);
+}
+
 void SIMIX_post_io(smx_action_t action)
 {
   xbt_fifo_item_t i;