crm_info("Processing stage 7");
stage7(GListPtr resources, GListPtr actions, GListPtr action_constraints,	GListPtr *action_sets){	int lpc;	action_wrapper_t *wrapper = NULL;	GListPtr list = NULL;	slist_iter(		order, order_constraint_t, action_constraints, lpc,					crm_verbose("%d Processing %d -> %d",		       order->id,		       order->lh_action->id,		       order->rh_action->id);		crm_debug_action(			print_action("LH (stage7)", order->lh_action, FALSE));		crm_debug_action(			print_action("RH (stage7)", order->rh_action, FALSE));		crm_malloc(wrapper, sizeof(action_wrapper_t));		if(wrapper != NULL) {			wrapper->action = order->rh_action;			wrapper->strength = order->strength;						list = order->lh_action->actions_after;			list = g_list_append(list, wrapper);			order->lh_action->actions_after = list;		}				crm_malloc(wrapper, sizeof(action_wrapper_t));		if(wrapper != NULL) {			wrapper->action = order->lh_action;			wrapper->strength = order->strength;						list = order->rh_action->actions_before;			list = g_list_append(list, wrapper);			order->rh_action->actions_before = list;		}		);	update_action_states(actions);	return TRUE;}