- void (*action_free)(surf_action_t * action); /* Call it when you're done with this action */
- void (*action_cancel)(surf_action_t action); /* remove the variables from the linear system if needed */
- void (*action_recycle)(surf_action_t action); /* More efficient than free/new */
- void (*action_change_state)(surf_action_t action, e_surf_action_state_t state);
-
- xbt_heap_float_t (*share_resources)(xbt_heap_float_t now); /* Share the resources to the
- actions and return in hom much time
- the next action may terminate */
- void (*update_state)(xbt_heap_float_t now,
- xbt_heap_float_t delta); /* Update the actions' state*/
+ void (*action_free)(surf_action_t action);
+ void (*action_cancel)(surf_action_t action);
+ void (*action_recycle)(surf_action_t action);
+ void (*action_change_state)(surf_action_t action,
+ e_surf_action_state_t state);
+} s_surf_resource_public_t, *surf_resource_public_t;