-/** \ingroup msg_actions
- * \brief Unregisters a function, which handled a kind of action
- *
- * \param name the reference name of the action.
- */
-void MSG_action_unregister(const char*action_name) {
- xbt_dict_remove(action_funs,action_name);
-}
-
-static int MSG_action_runner(int argc, char* argv[]) {
- xbt_dynar_t evt;
- unsigned int cursor;
-
- xbt_dynar_foreach(action_list,cursor,evt) {
- if (!strcmp(xbt_dynar_get_as(evt,0,char*),argv[0])) {
- msg_action_fun function = xbt_dict_get(action_funs,xbt_dynar_get_as(evt,1,char*));
- (*function)(evt);
- }
- }