-static void action_use(surf_action_t action)
-{
- if (action->model_type == surf_network_model)
- surf_network_model->action_use(action);
- else if (action->model_type == surf_cpu_model)
- surf_cpu_model->action_use(action);
- else if (action->model_type == surf_workstation_model)
- parallel_action_use(action);
- else
- DIE_IMPOSSIBLE;
- return;
-}
-