Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix MSG_storage_get_content function
[simgrid.git] / src / simix / smx_user.c
index fb1e54f..d45a92d 100644 (file)
@@ -1311,6 +1311,17 @@ xbt_dict_t simcall_storage_get_properties(smx_storage_t storage)
   return simcall_BODY_storage_get_properties(storage);
 }
 
   return simcall_BODY_storage_get_properties(storage);
 }
 
+/**
+ * \ingroup simix_storage_management
+ * \brief Returns a dict containing the content of a storage element.
+ *
+ * \param storage A storage element
+ * \return The content of this storage element as a dict (full path file => size)
+ */
+xbt_dict_t simcall_storage_get_content(smx_storage_t storage)
+{
+  return simcall_BODY_storage_get_content(storage);
+}
 
 #ifdef HAVE_MC
 
 
 #ifdef HAVE_MC