s_surf_action_state_t states; /* Any living action on this resource */
void *(*name_service)(const char *name);
const char *(*get_resource_name)(void *resource_id);
- int (*resource_used)(void *resource_id);
e_surf_action_state_t (*action_get_state)(surf_action_t action);
void (*action_free)(surf_action_t action);
/*** SURF Globals **************************/
/*******************************************/
-void surf_init(void); /* initialize common structures */
+void surf_init(int *argc, char **argv); /* initialize common structures */
xbt_heap_float_t surf_solve(void); /* update all states and returns
the time elapsed since last
event */