/********************************* File **************************************/
+/** \ingroup msg_file_management
+ * \brief Display information related to a file descriptor
+ *
+ * \param fd is a the file descriptor
+ */
+
+void MSG_file_dump (msg_file_t fd){
+ THROW_UNIMPLEMENTED;
+ /* Update the cached information first */
+// fd->info = __MSG_file_get_info(fd);
+// XBT_INFO("File Descriptor information:\n\t\tFull name: '%s'"
+// "\n\t\tSize: %zu\n\t\tMount point: '%s'\n\t\t Storage Id: '%s'"
+// "\n\t\t Content Type: '%s'", fd->fullname, fd->info->size, NULL,NULL,NULL);
+// fd->info->mount_point, fd->info->storageId, fd->info->content_type);
+}
+
/** \ingroup msg_file_management
* \brief Read a file
*
return simcall_file_ls(mount, path);
}
+
+/** \ingroup msg_storage_management
+ * \brief Return the free space size of a storage element
+ *
+ * \param sd is the storage descriptor (#msg_storage_t)
+ * \return the free space size of the storage element (as a size_t)
+ */
+
+size_t MSG_storage_get_free_size(msg_storage_t sd){
+ return simcall_storage_get_free_size(sd->simdata->smx_storage);
+}