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
Use a mallocator for the Surf actions
[simgrid.git]
/
src
/
msg
/
deployment.c
diff --git
a/src/msg/deployment.c
b/src/msg/deployment.c
index
7c310f4
..
29e5235
100644
(file)
--- a/
src/msg/deployment.c
+++ b/
src/msg/deployment.c
@@
-1,8
+1,5
@@
-/* $Id$ */
-
-/* Copyright (c) 2002-2007 Arnaud Legrand. */
-/* Copyright (c) 2007 Bruno Donassolo. */
-/* All rights reserved. */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. The SimGrid Team.
+ * All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
@@
-11,7
+8,6
@@
#include "xbt/sysdep.h"
#include "xbt/log.h"
#include "xbt/sysdep.h"
#include "xbt/log.h"
-
/** \ingroup msg_easier_life
* \brief An application deployer.
*
/** \ingroup msg_easier_life
* \brief An application deployer.
*
@@
-31,7
+27,7
@@
void MSG_launch_application(const char *file)
{
xbt_assert0(msg_global,
{
xbt_assert0(msg_global,
- "MSG_global_init_args has to be called before MSG_launch_application.");
+
"MSG_global_init_args has to be called before MSG_launch_application.");
SIMIX_launch_application(file);
SIMIX_launch_application(file);
@@
-74,3
+70,13
@@
xbt_main_func_t MSG_get_registered_function(const char *name)
{
return SIMIX_get_registered_function(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);
+}