+ priv->dp_objs = xbt_dict_new();
+ priv->dp_enabled = 0;
+ priv->dp_updated_by_deleted_tasks = 0;
+
+ xbt_lib_set(host_lib, name, MSG_HOST_LEVEL, priv);
+
+ return xbt_lib_get_elm_or_null(host_lib, name);
+}
+
+
+/** \ingroup msg_host_management
+ * \brief Finds a msg_host_t using its name.
+ *
+ * This is a name directory service
+ * \param name the name of an host.
+ * \return the corresponding host
+ */
+msg_host_t MSG_get_host_by_name(const char *name)
+{
+ return (msg_host_t) xbt_lib_get_elm_or_null(host_lib,name);