X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/47b33fbc4c510ddf3eb9f8593d1b14cdf23188e2..d460bf51e15ec797a91fd3a92bc1ba8b0c876f7c:/include/msg/msg.h diff --git a/include/msg/msg.h b/include/msg/msg.h index 192c44faba..195f90b130 100644 --- a/include/msg/msg.h +++ b/include/msg/msg.h @@ -310,8 +310,6 @@ XBT_PUBLIC(msg_error_t) MSG_set_channel_number(int number); XBT_PUBLIC(int) MSG_get_channel_number(void); #endif -#include "instr/instr.h" - /** @brief Opaque type describing a Virtual Machine. * @ingroup msg_VMs * @@ -320,9 +318,8 @@ XBT_PUBLIC(int) MSG_get_channel_number(void); * Usual lack of guaranty of any kind applies here, and is even increased. * */ -typedef struct msg_vm *msg_vm_t; /* This function should not be called directly, but rather from MSG_vm_start_from_template that does not exist yet*/ -XBT_PUBLIC(msg_vm_t) MSG_vm_start(msg_host_t location, int coreAmount); +XBT_PUBLIC(msg_vm_t) MSG_vm_start(msg_host_t location, const char *name, int coreAmount); XBT_PUBLIC(int) MSG_vm_is_suspended(msg_vm_t); XBT_PUBLIC(int) MSG_vm_is_running(msg_vm_t); @@ -365,6 +362,8 @@ xbt_dynar_t MSG_vm_get_list_from_host(msg_host_t) xbt_dynar_t MSG_vm_get_list_from_hosts(msg_dynar_t) + des fonctions de filtrage sur les dynar */ +#include "instr/instr.h" + /* ****************************************************************************************** */