X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6981c0be6e073312ee2b00af3697a273b154a587..db82f9e75280108116a8e70d2e7a163080020d29:/include/msg/msg.h diff --git a/include/msg/msg.h b/include/msg/msg.h index e042ab7b3e..657a35792c 100644 --- a/include/msg/msg.h +++ b/include/msg/msg.h @@ -69,6 +69,11 @@ XBT_PUBLIC(void) MSG_set_function(const char *host_id, XBT_PUBLIC(double) MSG_get_clock(void); XBT_PUBLIC(unsigned long int) MSG_get_sent_msg(void); +/************************** Environment ***********************************/ +XBT_PUBLIC(msg_as_t) MSG_environment_get_routing_root(void); +XBT_PUBLIC(const char *) MSG_environment_as_get_name(msg_as_t as); +XBT_PUBLIC(xbt_dict_t) MSG_environment_as_get_routing_sons(msg_as_t as); +XBT_PUBLIC(const char *)MSG_environment_as_get_property_value(msg_as_t as, const char *name); /************************** File handling ***********************************/ XBT_PUBLIC(double) MSG_file_read(void* ptr, size_t size, size_t nmemb, msg_file_t stream); @@ -401,7 +406,8 @@ XBT_PUBLIC(void) MSG_vm_resume(msg_vm_t vm); XBT_PUBLIC(void) MSG_vm_save(msg_vm_t vm); XBT_PUBLIC(void) MSG_vm_restore(msg_vm_t vm); -msg_host_t MSG_vm_get_pm(msg_vm_t vm); +XBT_PUBLIC(msg_host_t) MSG_vm_get_pm(msg_vm_t vm); +XBT_PUBLIC(void) MSG_vm_set_bound(msg_vm_t vm, double bound); /* TODO: do we need this? */ // XBT_PUBLIC(xbt_dynar_t) MSG_vms_as_dynar(void);