+/* ************************** Engine *************************** */
+void MSG_create_environment(const char* filename)
+{
+ simgrid_load_platform(filename);
+}
+
+void MSG_launch_application(const char* filename)
+{
+ simgrid_load_deployment(filename);
+}
+msg_error_t MSG_main()
+{
+ simgrid_run();
+ return MSG_OK;
+}
+void MSG_function_register(const char* name, xbt_main_func_t code)
+{
+ simgrid_register_function(name, code);
+}
+void MSG_function_register_default(xbt_main_func_t code)
+{
+ simgrid_register_default(code);
+}
+double MSG_get_clock()
+{
+ return simgrid_get_clock();
+}
+
+/* ************************** Mailboxes ************************ */
+void MSG_mailbox_set_async(const char* alias)
+{
+ sg_mailbox_set_receiver(alias);
+}
+int MSG_task_listen(const char* alias)
+{
+ return sg_mailbox_listen(alias);
+}