Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add MSG_set_function function, used to bypass the deployment file
[simgrid.git] / src / msg / deployment.c
index 9d662f2..01b9c9e 100644 (file)
@@ -71,3 +71,12 @@ xbt_main_func_t MSG_get_registered_function(const char *name)
 {
   return SIMIX_get_registered_function(name);
 }
+
+/**
+ * \brief register functions bypassing the parser
+ */
+
+void MSG_set_function(const char* host_id,const char *function_name,xbt_dynar_t arguments)
+{
+   SIMIX_process_set_function(host_id,function_name,arguments,-1,-1);
+}