A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add MSG_set_function function, used to bypass the deployment file
[simgrid.git]
/
src
/
msg
/
deployment.c
diff --git
a/src/msg/deployment.c
b/src/msg/deployment.c
index
9d662f2
..
01b9c9e
100644
(file)
--- a/
src/msg/deployment.c
+++ b/
src/msg/deployment.c
@@
-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);
+}