* under the terms of the license (GNU LGPL) which comes with this package. */
#include "simgrid_config.h" //For getline, keep that include first
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "simgrid_config.h" //For getline, keep that include first
* \brief Registers a function to handle a kind of action
*
* Registers a function to handle a kind of action
* \brief Registers a function to handle a kind of action
*
* Registers a function to handle a kind of action
if (action_fp) { // A unique trace file
while ((evt = action_get_action(argv[0]))) {
action_fun function =
(action_fun)xbt_dict_get(action_funs, evt[1]);
function(evt);
if (action_fp) { // A unique trace file
while ((evt = action_get_action(argv[0]))) {
action_fun function =
(action_fun)xbt_dict_get(action_funs, evt[1]);
function(evt);