return action;
action_new(int id, resource_t *rsc, enum action_tasks task){	action_t *action = (action_t*)cl_malloc(sizeof(action_t));	action->id = id;	action->rsc = rsc;	action->task = task;	action->actions_before = NULL;	action->actions_after = NULL;	action->node = NULL; // fill node in later	action->runnable = FALSE;	action->processed = FALSE;	action->optional = FALSE;	action->failed = FALSE;   // here?	action->complete = FALSE; // here?	action->seen_count = 0;}