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;