stonith_constraints(node_t *node, action_t *stonith_op, action_t *shutdown_op, 
stonith_constraints(node_t *node, action_t *stonith_op, action_t *shutdown_op, 
stonith_constraints(node_t *node, action_t *stonith_op, action_t *shutdown_op,		    GListPtr *action_constraints){	int lpc = 0;	order_constraint_t *order = NULL;	if(shutdown_op != NULL) {		order = (order_constraint_t*)			crm_malloc(sizeof(order_constraint_t));		/* shutdown before stonith if both are requested */		order->lh_action = shutdown_op;		order->rh_action = stonith_op;		order->id        = order_id++;		order->strength  = must;				*action_constraints = g_list_append(			*action_constraints, order);	}		slist_iter(		rsc, resource_t, node->details->running_rsc, lpc,#if 0		/*		 * Mark the stop as irrelevant		 *		 * Possibly one day failed actions wont terminate		 *   the transition, but not yet		 */		rsc->stop->discard = TRUE;#else					/* need to add timeouts in the TE for actions such as this.		 * ie. the node may be cactus and unable to receive the		 *  stop let alone reply with failed.		 */		rsc->stop->failure_is_fatal = FALSE;#endif#if 0		obsoleted by shutdown before stonith				/* try stopping the resource before stonithing the node		 *		 * if the stop succeeds, the transitioner can then		 * decided if  stonith is needed		 */		order = (order_constraint_t*)		crm_malloc(sizeof(order_constraint_t));		order->lh_action = rsc->stop;		order->rh_action = stonith_op;		order->id        = order_id++;		order->strength  = must;				*action_constraints = g_list_append(*action_constraints,order);#endif		/* stonith before start */		order = (order_constraint_t*)		crm_malloc(sizeof(order_constraint_t));				order->id        = order_id++;		order->lh_action = stonith_op;		order->rh_action = rsc->start;		order->strength  = must;				*action_constraints = g_list_append(*action_constraints,order);		);		return TRUE;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/2d0ce515422d2a7e4acea2dfe6ce3ae55380392d/graph.c/buggy/crm/pengine/graph.c