GSListPtr action_set = NULL;
GListPtr action_set = NULL;
stage7(GSListPtr resources, GSListPtr actions, GSListPtr action_constraints,	GSListPtr *action_sets){	int lpc;/*	for(lpc = 0; lpc < g_slist_length(action_constraints);  lpc++) {		order_constraint_t *order = (order_constraint_t*)			g_slist_nth_data(action_constraints, lpc);*/	slist_iter(		order, order_constraint_t, action_constraints, lpc,					crm_verbose("Processing %d -> %d",		       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));		action_wrapper_t *wrapper = (action_wrapper_t*)			crm_malloc(sizeof(action_wrapper_t));		wrapper->action = order->rh_action;		wrapper->strength = order->strength;		GSListPtr list = order->lh_action->actions_after;		list = g_slist_append(list, wrapper);		order->lh_action->actions_after = list;		wrapper = (action_wrapper_t*)			crm_malloc(sizeof(action_wrapper_t));		wrapper->action = order->lh_action;		wrapper->strength = order->strength;		list = order->rh_action->actions_before;		list = g_slist_append(list, wrapper);		order->rh_action->actions_before = list;		);//	}		update_runnable(actions);	slist_iter(		rsc, resource_t, resources, lpc,			GSListPtr action_set = NULL;		/* any non-essential stop actions will be marked redundant by		 *  during stage6		 */		action_set = create_action_set(rsc->start);		if(action_set != NULL) {			crm_verbose("Created action set for %s->start",			       rsc->id);			*action_sets = g_slist_append(*action_sets,						      action_set);		} else {			crm_verbose("No actions resulting from %s->start",			       rsc->id);		}		);			return TRUE;}