Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix lua platform script
[simgrid.git] / src / msg / msg_host.c
index 5c697a7..a503903 100644 (file)
@@ -75,7 +75,7 @@ msg_host_t MSG_get_host_by_name(const char *name)
  * This functions checks whether some data has already been associated to \a host 
    or not and attach \a data to \a host if it is possible.
  */
-MSG_error_t MSG_host_set_data(msg_host_t host, void *data)
+msg_error_t MSG_host_set_data(msg_host_t host, void *data)
 {
   SIMIX_host_set_data(host->smx_host,data);
 
@@ -131,12 +131,15 @@ void __MSG_host_destroy(msg_host_t host) {
   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;
@@ -211,7 +214,7 @@ const char *MSG_host_get_property_value(msg_host_t host, const char *name)
 }
 
 /** \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