node->details->id, rsc->class, rsc->type); if(has_agent(node, rsc->class, rsc->type) == FALSE) { 
node->details->id, rsc->agent->class, rsc->agent->type);  if(has_agent(node, rsc->agent) == FALSE) { 
apply_agent_constraints(GListPtr resources){	int lpc;	int lpc2;	slist_iter(		rsc, resource_t, resources, lpc,		crm_trace("Applying RA restrictions to %s", rsc->id);		slist_iter(			node, node_t, rsc->allowed_nodes, lpc2,						crm_trace("Checking if %s supports %s/%s",				  node->details->id, rsc->class, rsc->type);			if(has_agent(node, rsc->class, rsc->type) == FALSE) {				/* remove node from contention */				crm_trace("Marking node %s unavailable for %s",					  node->details->id, rsc->id);				node->weight = -1.0;				node->fixed = TRUE;			}			if(node->fixed && node->weight < 0) {				/* the structure of the list will have changed				 * lpc2-- might be sufficient				 */				crm_debug("Removing node %s from %s",					  node->details->id, rsc->id);				lpc2 = -1;				rsc->allowed_nodes = g_list_remove(					rsc->allowed_nodes, node);				crm_free(node);			}						)		);	crm_trace("Finished applying RA restrictions");	return TRUE;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/9273e610b0ca28f3d9f83b45df4465ad2e98906f/color.c/clean/crm/pengine/color.c