action_new(incarnation_data->self, start_rsc, NULL, NULL); action_new(incarnation_data->self, started_rsc, NULL, NULL);
start_action(incarnation_data->self, NULL); custom_action(incarnation_data->self, started_key(rsc), CRMD_ACTION_STARTED, NULL);
void incarnation_create_actions(resource_t *rsc, GListPtr *ordering_constraints){	gboolean child_starting = FALSE;	gboolean child_stopping = FALSE;	incarnation_variant_data_t *incarnation_data = NULL;	get_incarnation_variant_data(incarnation_data, rsc);	slist_iter(		child_rsc, resource_t, incarnation_data->child_list, lpc,		child_rsc->fns->create_actions(child_rsc, ordering_constraints);		child_starting = child_starting || child_rsc->starting;		child_stopping = child_stopping || child_rsc->stopping;		);	if(child_starting) {		rsc->starting = TRUE;		action_new(incarnation_data->self, start_rsc, NULL, NULL);		action_new(incarnation_data->self, started_rsc, NULL, NULL);	}	if(child_stopping) {		rsc->stopping = TRUE;		action_new(incarnation_data->self, stop_rsc, NULL, NULL);		action_new(incarnation_data->self, stopped_rsc, NULL, NULL);	}		slist_iter(		action, action_t, incarnation_data->self->actions, lpc,		action->pseudo = TRUE;		action->optional = TRUE;		);}