+
+/** @brief retrieve the value of a given host property (or NULL if not defined) */
+const char* gras_os_host_property_value(const char* name) {
+ return xbt_dict_get_or_null(SIMIX_host_get_properties(SIMIX_process_get_host(SIMIX_process_self())), name);
+}
+
+/** @brief retrieve the host properties dictionnary
+ * @warning it's the original one, not a copy. Don't mess with it
+ */
+xbt_dict_t gras_os_host_properties(void) {
+ return SIMIX_host_get_properties(SIMIX_process_get_host(SIMIX_process_self()));
+}
+