X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/77bbf3027c4240a2e833209a3a3f186589da8577..04d3d36e9e87d194bee4f88859f96d66975cce31:/src/msg/msg_host.cpp diff --git a/src/msg/msg_host.cpp b/src/msg/msg_host.cpp index 7605967a69..5db2de1d5c 100644 --- a/src/msg/msg_host.cpp +++ b/src/msg/msg_host.cpp @@ -11,12 +11,8 @@ XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(msg); -simgrid::xbt::Extension simgrid::MsgHostExt::EXTENSION_ID; - extern "C" { -int sg_storage_max_file_descriptors = 1024; - /** @addtogroup m_host_management * (#msg_host_t) and the functions for managing it. * @@ -252,18 +248,4 @@ xbt_dynar_t MSG_host_get_attached_storage_list(msg_host_t host) return sg_host_get_attached_storage_list(host); } -/** \ingroup m_host_management - * \brief Return the content of mounted storages on an host. - * \param host a host - * \return a dict containing content (as a dict) of all storages mounted on the host - */ -xbt_dict_t MSG_host_get_storage_content(msg_host_t host) -{ - xbt_assert((host != nullptr), "Invalid parameters"); - xbt_dict_t contents = xbt_dict_new_homogeneous(nullptr); - for (auto const& elm : host->getMountedStorages()) - xbt_dict_set(contents, elm.first.c_str(), MSG_storage_get_content(elm.second), nullptr); - - return contents; -} }