- return(surf_workstation_resource->
- extension_public->get_speed(h->simdata->host,1.0));
+/** \ingroup m_host_management
+ * \brief Returns a xbt_dynar_t consisting of the list of properties assigned to this host
+ *
+ * \param host a host
+ * \return a dict containing the properties
+ */
+xbt_dict_t MSG_host_get_properties(m_host_t host)
+{
+ xbt_assert0((host != NULL), "Invalid parameters");
+
+ return (SIMIX_host_get_properties(host->simdata->smx_host));
+}
+
+
+/** \ingroup msg_gos_functions
+ * \brief Determine if a host is available.
+ *
+ * \param h host to test
+ */
+int MSG_host_is_avail(m_host_t h)
+{
+ xbt_assert0((h != NULL), "Invalid parameters");
+ return (SIMIX_host_get_state(h->simdata->smx_host));