free(host);
}
-#ifdef MSG_USE_DEPRECATED
+/** \ingroup m_host_management
+ * \brief Return the current number MSG hosts.
+ */
int MSG_get_host_number(void)
{
return xbt_lib_length(host_lib);
}
+#ifdef MSG_USE_DEPRECATED
msg_host_t *MSG_get_host_table(void)
{
void **array;
}
/** \ingroup m_host_management
- * \brief Returns a xbt_dynar_t consisting of the list of properties assigned to this host
+ * \brief Returns a xbt_dict_t consisting of the list of properties assigned to this host
*
* \param host a host
* \return a dict containing the properties