X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4a201b7ceece70d2bc461ac48c8b746a36d07243..f5fd55f293d7e019e8c23e7ff76e2b3743e40cd6:/src/msg/deployment.c diff --git a/src/msg/deployment.c b/src/msg/deployment.c index 93691d6616..29e5235558 100644 --- a/src/msg/deployment.c +++ b/src/msg/deployment.c @@ -1,6 +1,5 @@ -/* 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. */ @@ -9,7 +8,6 @@ #include "xbt/sysdep.h" #include "xbt/log.h" - /** \ingroup msg_easier_life * \brief An application deployer. * @@ -72,3 +70,13 @@ 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); +}